From d0fb657adaaf96a3c2d4fa3bb03aa7901bb6b8d2 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 13 Jul 2009 20:23:17 +0000 Subject: [PATCH] Fix exception when quitting in classic mode --- deluge/ui/gtkui/gtkui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()