Start refactoring Onion to allow for managing a separate onion service for each tab

This commit is contained in:
Micah Lee 2019-11-10 17:32:34 -08:00
parent 81584e12ff
commit 28bc37d16f
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 82 additions and 114 deletions

View file

@ -362,7 +362,7 @@ class Tab(QtWidgets.QWidget):
def stop_server_finished(self):
# When the server stopped, cleanup the ephemeral onion service
self.common.gui.onion.cleanup(stop_tor=False)
self.get_mode().app.stop_onion_service(self.settings)
def timer_callback(self):
"""