mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-15 17:27:35 -05: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
@ -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…
Reference in New Issue
Block a user