mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Close connection manager on shutdown - patch from Jan Steffens
This commit is contained in:
parent
72fd3bd061
commit
9e4a92444b
1 changed files with 5 additions and 1 deletions
|
@ -99,12 +99,16 @@ class ConnectionManager(component.Component):
|
|||
|
||||
self.config = ConfigManager("hostlist.conf.1.2", DEFAULT_CONFIG)
|
||||
|
||||
self.running = False
|
||||
|
||||
# Component overrides
|
||||
def start(self):
|
||||
pass
|
||||
|
||||
def stop(self):
|
||||
pass
|
||||
# Close this dialog when we are shutting down
|
||||
if self.running:
|
||||
self.connection_manager.response(gtk.RESPONSE_CLOSE)
|
||||
|
||||
def shutdown(self):
|
||||
pass
|
||||
|
|
Loading…
Add table
Reference in a new issue