This should fix #4098. However, I'll let that bug open until I'm

very very sure and gave that a few days of testing.
This commit is contained in:
js 2008-07-16 02:37:57 +00:00
parent abec83fa3b
commit d1c60a07e5
1 changed files with 11 additions and 1 deletions

View File

@ -2738,7 +2738,17 @@ class Interface:
def process_connections(self):
''' called each foo (200) miliseconds. Check for idlequeue timeouts.
'''
gajim.idlequeue.process()
try:
gajim.idlequeue.process()
except:
# Otherwise, an exception will stop our loop
if os.name == 'nt':
gobject.timeout_add(200,
self.process_connections)
else:
gobject.timeout_add_seconds(2,
self.process_connections)
raise
return True # renew timeout (loop for ever)
def save_config(self):