remove trying to stop the reactor, we can just call reactor.stop() and
shutdown will be called
This commit is contained in:
parent
fac65e9bb0
commit
37b3c07025
|
@ -342,11 +342,6 @@ class DelugeWeb(component.Component):
|
||||||
log.info("Shutting down webserver")
|
log.info("Shutting down webserver")
|
||||||
log.debug("Saving configuration file")
|
log.debug("Saving configuration file")
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
|
||||||
try:
|
|
||||||
reactor.stop()
|
|
||||||
except error.ReactorNotRunning:
|
|
||||||
log.debug("Tried to stop the reactor but it is not running..")
|
|
||||||
|
|
||||||
if __name__ == "__builtin__":
|
if __name__ == "__builtin__":
|
||||||
deluge_web = DelugeWeb()
|
deluge_web = DelugeWeb()
|
||||||
|
|
Loading…
Reference in New Issue