From 9d3d22e7f8cdbeccf661d4d0965fb54f3f2ccaa2 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 23 Jun 2008 22:10:08 +0000 Subject: [PATCH] Fix possible crash on exit in clasic mode --- deluge/ui/gtkui/gtkui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index 7da7abd44..8d6680553 100644 --- a/deluge/ui/gtkui/gtkui.py +++ b/deluge/ui/gtkui/gtkui.py @@ -189,7 +189,10 @@ class GtkUI: # Shutdown all components component.shutdown() if self.started_in_classic: - client.shutdown() + try: + client.shutdown() + except: + pass def _on_new_core(self, data): component.start()