mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-27 16:45:44 -04:00
Fix linux tor paths, make event handler properly quit thread
This commit is contained in:
parent
ef73f354b7
commit
a53b95867f
5 changed files with 31 additions and 19 deletions
|
@ -78,8 +78,9 @@ class TabWidget(QtWidgets.QTabWidget):
|
|||
|
||||
def cleanup(self):
|
||||
# Stop the event thread
|
||||
self.event_handler_t.stop()
|
||||
self.event_handler_t.join()
|
||||
self.event_handler_t.should_quit = True
|
||||
self.event_handler_t.quit()
|
||||
self.event_handler_t.wait(50)
|
||||
|
||||
# Clean up each tab
|
||||
for index in range(self.count()):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue