mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
Fix possible crash on exit in clasic mode
This commit is contained in:
parent
e905044445
commit
9d3d22e7f8
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||||
|
try:
|
||||||
client.shutdown()
|
client.shutdown()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def _on_new_core(self, data):
|
def _on_new_core(self, data):
|
||||||
component.start()
|
component.start()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue