diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index 1591cee94..55afefdad 100644 --- a/deluge/ui/gtkui/gtkui.py +++ b/deluge/ui/gtkui/gtkui.py @@ -210,7 +210,7 @@ class GtkUI: # Process any pending gtk events since the mainloop has been quit while gtk.events_pending(): - gtk.main_iteration(False) + reactor.doIteration(0) # Shutdown all components component.shutdown()