mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-27 07:58:13 -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:
|
finally:
|
||||||
# Shutdown
|
# Shutdown
|
||||||
web.cleanup()
|
web.cleanup()
|
||||||
|
t.join()
|
||||||
onion.cleanup()
|
onion.cleanup()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user