Fix quitting in Windows
This commit is contained in:
parent
8f50687034
commit
42a57b1f41
@ -232,8 +232,9 @@ class GtkUI(object):
|
|||||||
component.stop()
|
component.stop()
|
||||||
|
|
||||||
# Process any pending gtk events since the mainloop has been quit
|
# Process any pending gtk events since the mainloop has been quit
|
||||||
while gtk.events_pending():
|
if not deluge.common.windows_check():
|
||||||
reactor.doIteration(0)
|
while gtk.events_pending():
|
||||||
|
reactor.doIteration(0)
|
||||||
|
|
||||||
# Shutdown all components
|
# Shutdown all components
|
||||||
component.shutdown()
|
component.shutdown()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user