mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Make it so ctrl-c actually quits the CLI version
This commit is contained in:
parent
6b5dfe62c0
commit
593c9e9afe
@ -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…
Reference in New Issue
Block a user