mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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)
|
reactor.callWhenRunning(self._on_reactor_start)
|
||||||
# Start the gtk main loop
|
# Start the gtk main loop
|
||||||
gtk.gdk.threads_enter()
|
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()
|
self.shutdown()
|
||||||
gtk.gdk.threads_leave()
|
gtk.gdk.threads_leave()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue