From d8801ff061ef38c339bc106b2b334c9e7989ea0f Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Tue, 4 May 2021 16:30:38 +1000 Subject: [PATCH] move self.get_mode().web.cleanup() inside the if self.get_mode() conditional, in desktop --- desktop/src/onionshare/tab/tab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/onionshare/tab/tab.py b/desktop/src/onionshare/tab/tab.py index 5d929d01..a0263a50 100644 --- a/desktop/src/onionshare/tab/tab.py +++ b/desktop/src/onionshare/tab/tab.py @@ -681,4 +681,4 @@ class Tab(QtWidgets.QWidget): self.get_mode().web.stop(self.get_mode().app.port) self.get_mode().web_thread.quit() self.get_mode().web_thread.wait() - self.get_mode().web.cleanup() + self.get_mode().web.cleanup()