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

@ -185,6 +185,7 @@ class EventHandlerThread(QtCore.QThread):
super(EventHandlerThread, self).__init__()
self.common = common
self.common.log("EventHandlerThread", "__init__")
self.should_quit = False
def run(self):
self.common.log("EventHandlerThread", "run")
@ -246,4 +247,6 @@ class EventHandlerThread(QtCore.QThread):
except:
pass
if self.should_quit:
break
time.sleep(0.2)