mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-29 14:19:30 -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
1 changed files with 1 additions and 0 deletions
|
@ -541,6 +541,7 @@ def main(cwd=None):
|
|||
finally:
|
||||
# Shutdown
|
||||
web.cleanup()
|
||||
t.join()
|
||||
onion.cleanup()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue