Fix linux tor paths, make event handler properly quit thread

This commit is contained in:
Micah Lee 2020-04-06 19:49:49 -07:00
parent dea6de67d0
commit c07eda330d
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 31 additions and 19 deletions

View file

@ -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()):