Merge pull request #84 from LucianoCirino/websocket-thread-daemon

Set async thread to daemon
This commit is contained in:
TSC
2023-08-07 22:58:44 -05:00
committed by GitHub

View File

@@ -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()