1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Fix: Stopping scheduler cause app shutdown on linux

#883
This commit is contained in:
18870
2022-03-03 21:39:05 +08:00
parent f3e62ffaf1
commit 9f66e4b103

View File

@@ -52,7 +52,7 @@ class ProcessManager:
lock = FileLock(f"{filepath_config(self.config_name)}.lock")
with lock:
if self.alive:
self._process.terminate()
self._process.kill()
self.renderables.append(
f"[{self.config_name}] exited. Reason: Manual stop\n"
)