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