mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 13:05:37 +00:00
disable the JSON component upon webserver stop
This commit is contained in:
parent
b46562d932
commit
e0153e8bdc
@ -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…
x
Reference in New Issue
Block a user