mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-21 21:22:13 -03:00
Set async thread to daemon
Set WebSocket server thread to daemon to ensure it exits with main program.
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user