Rev2099, Keep tor client running until update finished

This commit is contained in:
shortcutme 2017-06-06 00:05:43 +02:00
parent 1d06d30812
commit 742c2fe684
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
3 changed files with 4 additions and 3 deletions

View file

@ -825,8 +825,6 @@ class UiWebsocket(object):
def actionServerUpdate(self, to):
self.cmd("updating")
sys.modules["main"].update_after_shutdown = True
if sys.modules["main"].file_server.tor_manager.tor_process:
sys.modules["main"].file_server.tor_manager.stopTor()
SiteManager.site_manager.save()
sys.modules["main"].file_server.stop()
sys.modules["main"].ui_server.stop()