Author: damoxc
Revision: 5141
Log:
remove trying to stop the reactor, we can just call reactor.stop() and
shutdown will be called
Diff:
Modified: trunk/deluge/ui/web/server.py
===================================================================
--- trunk/deluge/ui/web/server.py 2009-04-23 12:33:51 UTC (rev 5140)
+++ trunk/deluge/ui/web/server.py 2009-04-23 12:36:59 UTC (rev 5141)
@@ -342,11 +342,6 @@
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()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---