feat: kill runtime process when exit in stdio mode

This commit is contained in:
Junyan Qin
2025-07-16 22:43:39 +08:00
parent e0abd19636
commit f5b893cfe0
3 changed files with 14 additions and 5 deletions

View File

@@ -156,6 +156,9 @@ class Application:
self.logger.error(f'应用运行致命异常: {e}')
self.logger.debug(f'Traceback: {traceback.format_exc()}')
def dispose(self):
self.plugin_connector.dispose()
async def print_web_access_info(self):
"""打印访问 webui 的提示"""