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