remove trying to stop the reactor, we can just call reactor.stop() and

shutdown will be called
This commit is contained in:
Damien Churchill 2009-04-23 12:36:59 +00:00
parent fac65e9bb0
commit 37b3c07025
1 changed files with 0 additions and 5 deletions

View File

@ -343,11 +343,6 @@ class DelugeWeb(component.Component):
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()
application = service.Application("DelugeWeb")