fix: 停止后立刻再开始不会被收尾任务吞掉

This commit is contained in:
2026-11-16 02:46:25 +08:00
parent e27b3002a4
commit 2ef51591c1
2 changed files with 37 additions and 12 deletions
+1
View File
@@ -45,6 +45,7 @@ def fresh_database():
from euniv import autostudy as autostudy_mod
autostudy_mod._wanted.clear()
autostudy_mod._running.clear()
autostudy_mod._user_halts.clear()
users = autostudy_mod._status.get("users")
if isinstance(users, dict):