You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
terminate
This commit is contained in:
@@ -115,7 +115,8 @@ class ProcessManager:
|
|||||||
def wait_all(self, timeout: float | None = None) -> None:
|
def wait_all(self, timeout: float | None = None) -> None:
|
||||||
with self.lock:
|
with self.lock:
|
||||||
for process in self.processes:
|
for process in self.processes:
|
||||||
process.process.wait(timeout)
|
try: process.process.wait(timeout)
|
||||||
|
except: process.process.terminate()
|
||||||
self.processes.remove(process)
|
self.processes.remove(process)
|
||||||
|
|
||||||
procman = ProcessManager()
|
procman = ProcessManager()
|
||||||
|
|||||||
Reference in New Issue
Block a user