清理线程

This commit is contained in:
2026-06-22 19:13:53 +08:00
parent 61b73d0bef
commit 737249b0d7
3 changed files with 44 additions and 6 deletions
+5
View File
@@ -21,3 +21,8 @@ def startup():
rlib.set_ghp(pconfig.github_token)
rlib.boot(str(Path.cwd()), "nonebot_plugin_sekai_update_notify", pconfig.assets_studio_path)
scheduler.add_job(sync, "interval", seconds=10, id="sekai_update_sync", replace_existing=True)
@driver.on_shutdown
def shutdown():
rlib.stop()