mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-01 21:02:11 -04:00
Fixed CLI version to properly stop the webserver
This commit is contained in:
parent
7b666654f3
commit
ea06ec19a1
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ def main():
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
running = False
|
running = False
|
||||||
web.stop()
|
web.stop(app.port)
|
||||||
|
|
||||||
# shutdown
|
# shutdown
|
||||||
app.cleanup()
|
app.cleanup()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue