mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 08:25:15 -04:00
Clean up watchdog thread when quitting, which avoids segfaults
This commit is contained in:
parent
76d88d0648
commit
aebc96142f
2 changed files with 11 additions and 3 deletions
|
@ -284,7 +284,5 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
e.accept()
|
||||
|
||||
def cleanup(self):
|
||||
for index in range(self.tabs.count()):
|
||||
tab = self.tabs.widget(index)
|
||||
tab.cleanup()
|
||||
self.tabs.cleanup()
|
||||
self.common.gui.onion.cleanup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue