mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
Fix quitting in Windows
This commit is contained in:
parent
8f50687034
commit
42a57b1f41
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue