mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 13:17:00 +08:00
Fix: Don't use join
This commit is contained in:
@@ -39,11 +39,9 @@ class ProcessManager:
|
||||
with lock:
|
||||
if self.alive:
|
||||
self._process.terminate()
|
||||
self._process.join()
|
||||
self.log.append("Scheduler stopped.\n")
|
||||
if self.thd_log_queue_handler.is_alive():
|
||||
self.thd_log_queue_handler.stop()
|
||||
self.thd_log_queue_handler.join()
|
||||
logger.info(f"Alas [{self.config_name}] stopped")
|
||||
|
||||
def _thread_log_queue_handler(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user