mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-28 00:07:13 -04:00
Merge pull request #138 from r4v5/fix-cli-cleanup
Fixed CLI version to properly stop the webserver
This commit is contained in:
commit
b74a6856b7
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