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 de76f400cd
commit 7dcc71c330
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):
"""