mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
[#3010|GTKUI] Handle unknown OverflowError from twisted reactor
This commit is contained in:
parent
415979e2f7
commit
b13da8a42a
1 changed files with 6 additions and 1 deletions
|
@ -291,7 +291,12 @@ class GtkUI(object):
|
|||
reactor.callWhenRunning(self._on_reactor_start)
|
||||
# Start the gtk main loop
|
||||
gtk.gdk.threads_enter()
|
||||
reactor.run()
|
||||
try:
|
||||
reactor.run()
|
||||
except OverflowError:
|
||||
# Ticket 3010 reports an error that cannot replicate so catch
|
||||
# it and ignore it to prevent spamming logs.
|
||||
pass
|
||||
self.shutdown()
|
||||
gtk.gdk.threads_leave()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue