Fix possible crash on exit in clasic mode
This commit is contained in:
parent
e905044445
commit
9d3d22e7f8
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue