Fix possible crash on exit in clasic mode

This commit is contained in:
Andrew Resch 2008-06-23 22:10:08 +00:00
parent e905044445
commit 9d3d22e7f8
1 changed files with 4 additions and 1 deletions

View File

@ -189,7 +189,10 @@ class GtkUI:
# Shutdown all components # Shutdown all components
component.shutdown() component.shutdown()
if self.started_in_classic: if self.started_in_classic:
client.shutdown() try:
client.shutdown()
except:
pass
def _on_new_core(self, data): def _on_new_core(self, data):
component.start() component.start()