This commit is contained in:
2025-12-13 19:11:00 +01:00
parent 7f412e8df1
commit 7c563fe0f8
+1 -1
View File
@@ -171,7 +171,7 @@ class Module(PlayerModule):
self.ipc_thread.start()
self.shutdown_evt = multiprocessing.Event()
self.ws_process = multiprocessing.Process(target=websocket_server_process, args=(self.data, self.imc_q, self.ws_q), daemon=False)
self.ws_process = multiprocessing.Process(target=websocket_server_process, args=(self.data, self.imc_q, self.ws_q, self.shutdown_evt), daemon=False)
self.ws_process.start()
if os.name == "posix":
try: os.setpgid(self.ws_process.pid, self.ws_process.pid)