mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-28 13:48:08 +08:00
@@ -52,7 +52,7 @@ class ProcessManager:
|
|||||||
lock = FileLock(f"{filepath_config(self.config_name)}.lock")
|
lock = FileLock(f"{filepath_config(self.config_name)}.lock")
|
||||||
with lock:
|
with lock:
|
||||||
if self.alive:
|
if self.alive:
|
||||||
self._process.terminate()
|
self._process.kill()
|
||||||
self.renderables.append(
|
self.renderables.append(
|
||||||
f"[{self.config_name}] exited. Reason: Manual stop\n"
|
f"[{self.config_name}] exited. Reason: Manual stop\n"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user