mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-24 14:46:35 -04:00
Call t.join() to wait for the web thread to stop before cleaning up the onion. Seems to fix periodic race condition segfault
This commit is contained in:
parent
a9e6870ce3
commit
6a64f74791
@ -541,6 +541,7 @@ def main(cwd=None):
|
||||
finally:
|
||||
# Shutdown
|
||||
web.cleanup()
|
||||
t.join()
|
||||
onion.cleanup()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user