From 37b3c07025445eb0ac98720bdf9a8e1f49078c66 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 23 Apr 2009 12:36:59 +0000 Subject: [PATCH] remove trying to stop the reactor, we can just call reactor.stop() and shutdown will be called --- deluge/ui/web/server.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index ea7b9d25d..45c8ddd78 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -342,11 +342,6 @@ class DelugeWeb(component.Component): log.info("Shutting down webserver") log.debug("Saving configuration file") self.config.save() - - try: - reactor.stop() - except error.ReactorNotRunning: - log.debug("Tried to stop the reactor but it is not running..") if __name__ == "__builtin__": deluge_web = DelugeWeb()