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:
parent
abec83fa3b
commit
d1c60a07e5
12
src/gajim.py
12
src/gajim.py
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue