mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-16 21:36:40 +00:00
Likewise in trunk
This commit is contained in:
parent
ce0968e6dc
commit
3a90109724
@ -232,8 +232,9 @@ class GtkUI(object):
|
||||
component.stop()
|
||||
|
||||
# Process any pending gtk events since the mainloop has been quit
|
||||
while gtk.events_pending():
|
||||
reactor.doIteration(0)
|
||||
if not deluge.common.windows_check():
|
||||
while gtk.events_pending():
|
||||
reactor.doIteration(0)
|
||||
|
||||
# Shutdown all components
|
||||
component.shutdown()
|
||||
|
Loading…
x
Reference in New Issue
Block a user