mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 15:35:13 -04:00
Fix linux tor paths, make event handler properly quit thread
This commit is contained in:
parent
dea6de67d0
commit
c07eda330d
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