mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
make Ctrl-C close the CLI version again
This commit is contained in:
parent
8514f74b1c
commit
8f493b4468
@ -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…
Reference in New Issue
Block a user