mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-29 09:28:57 -04:00
make Ctrl-C close the CLI version again
This commit is contained in:
parent
8514f74b1c
commit
8f493b4468
1 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,8 @@ def main():
|
|||
|
||||
# wait for app to close
|
||||
try:
|
||||
t.join()
|
||||
while True:
|
||||
time.sleep(0.5)
|
||||
except KeyboardInterrupt:
|
||||
web.stop(app.port)
|
||||
finally:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue