mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 18:52:58 -03:00
Make it so ctrl-c actually quits the CLI version
This commit is contained in:
parent
6b5dfe62c0
commit
593c9e9afe
1 changed files with 0 additions and 1 deletions
|
@ -176,7 +176,6 @@ def main(cwd=None):
|
|||
|
||||
# Wait for app to close
|
||||
while t.is_alive():
|
||||
t.join()
|
||||
# Allow KeyboardInterrupt exception to be handled with threads
|
||||
# https://stackoverflow.com/questions/3788208/python-threading-ignores-keyboardinterrupt-exception
|
||||
time.sleep(100)
|
||||
|
|
Loading…
Add table
Reference in a new issue