Module: deluge Branch: master Commit: e0153e8bdcf9d43e848ff2d60a90f6948a97a5dc
Author: Damien Churchill <[email protected]> Date: Fri Apr 30 14:11:36 2010 +0100 disable the JSON component upon webserver stop --- deluge/ui/web/server.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index a89449b..6050f08 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -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() -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
