mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
disable the JSON component upon webserver stop
This commit is contained in:
parent
b46562d932
commit
e0153e8bdc
1 changed files with 2 additions and 0 deletions
|
@ -687,6 +687,8 @@ class DelugeWeb(component.Component):
|
|||
|
||||
def stop(self):
|
||||
log.info("Shutting down webserver")
|
||||
component.get("JSON").disable()
|
||||
|
||||
self.plugins.disable_plugins()
|
||||
log.debug("Saving configuration file")
|
||||
self.config.save()
|
||||
|
|
Loading…
Add table
Reference in a new issue