0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00
This commit is contained in:
2025-12-13 21:36:21 +01:00
parent 78c8465607
commit b76ea0aa03

View File

@@ -215,14 +215,14 @@ class Module(PlayerModule):
def shutdown(self):
self.ipc_thread_running = False
try: self.imc_q.put(None, block=False)
try: self.imc_q.put(None)
except: pass
try: self.ws_q.put(None, block=False)
try: self.ws_q.put(None)
except: pass
self.ipc_thread.join(timeout=2)
self.ws_process.join(timeout=5)
self.ws_process.join(timeout=3)
if self.ws_process.is_alive():
self.ws_process.terminate()