mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 19:37:36 +08:00
feat: 彻底移除 yirimirai
This commit is contained in:
@@ -125,3 +125,10 @@ class Application:
|
||||
except Exception as e:
|
||||
self.logger.error(f"应用运行致命异常: {e}")
|
||||
self.logger.debug(f"Traceback: {traceback.format_exc()}")
|
||||
|
||||
async def scoped_shutdown(self, scopes: list[str]):
|
||||
pass
|
||||
|
||||
async def shutdown(self):
|
||||
for task in self.task_mgr.tasks:
|
||||
task.cancel()
|
||||
|
||||
Reference in New Issue
Block a user