disable the JSON component upon webserver stop

This commit is contained in:
Damien Churchill 2010-04-30 14:11:36 +01:00
parent b46562d932
commit e0153e8bdc
1 changed files with 2 additions and 0 deletions

View File

@ -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()