summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--onionshare/web/web.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/onionshare/web/web.py b/onionshare/web/web.py
index 010702be..66ba5b24 100644
--- a/onionshare/web/web.py
+++ b/onionshare/web/web.py
@@ -263,6 +263,9 @@ class Web(object):
# Let the mode know that the user stopped the server
self.stop_q.put(True)
+ # Reset any slug that was in use
+ self.slug = ''
+
# To stop flask, load http://127.0.0.1:<port>/<shutdown_slug>/shutdown
if self.running:
try: