mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-30 09:59:02 -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
|
# wait for app to close
|
||||||
try:
|
try:
|
||||||
t.join()
|
while True:
|
||||||
|
time.sleep(0.5)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
web.stop(app.port)
|
web.stop(app.port)
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue