From ea06ec19a10ea287f0364cbd50a13e8f63012e4b Mon Sep 17 00:00:00 2001 From: Mason Donahue Date: Sat, 6 Sep 2014 00:31:47 -0500 Subject: [PATCH] Fixed CLI version to properly stop the webserver --- onionshare/onionshare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare/onionshare.py b/onionshare/onionshare.py index bf8bf84d..0edf2bf7 100644 --- a/onionshare/onionshare.py +++ b/onionshare/onionshare.py @@ -260,7 +260,7 @@ def main(): time.sleep(0.5) except KeyboardInterrupt: running = False - web.stop() + web.stop(app.port) # shutdown app.cleanup()