mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 23:15:18 -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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue