mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +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):
|
def stop(self):
|
||||||
log.info("Shutting down webserver")
|
log.info("Shutting down webserver")
|
||||||
|
component.get("JSON").disable()
|
||||||
|
|
||||||
self.plugins.disable_plugins()
|
self.plugins.disable_plugins()
|
||||||
log.debug("Saving configuration file")
|
log.debug("Saving configuration file")
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue