From 1aa932071508f9dbc3bf5549b1c7e1c18e8af722 Mon Sep 17 00:00:00 2001 From: thaaoblues Date: Sun, 19 Feb 2023 19:27:58 +0100 Subject: [PATCH] fixing shutdown --- copypasta.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/copypasta.py b/copypasta.py index 7611605..e851264 100644 --- a/copypasta.py +++ b/copypasta.py @@ -340,6 +340,8 @@ def shutdown_server(json_data:dict): socketio.emit("[NOTIFY_USER]",{"msg":"CopyPasta server is now off. You may close this tab."}) socketio.stop() + + exit(1)