diff --git a/tsc_utils.py b/tsc_utils.py index 128d3e9..4f5d2ad 100644 --- a/tsc_utils.py +++ b/tsc_utils.py @@ -553,4 +553,5 @@ def send_command_to_frontend(startListening=False, maxCount=0, sendBlob=False): # Start the WebSocket server in a separate thread server_thread = threading.Thread(target=run_server) +server_thread.daemon = True server_thread.start() \ No newline at end of file