mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-15 01:59:30 -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
|
@ -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