mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-22 21:56:32 -04:00
Merge pull request #1974 from onionshare/mig/fix-thread-segfault
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:
commit
0eb295a010
@ -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