AstrBot icon indicating copy to clipboard operation
AstrBot copied to clipboard

[Feature] 在lifecycle新增插件资源清理逻辑

Open Raven95676 opened this issue 1 year ago • 0 comments

描述

测试代码: image

当通过CTRL+C终止Astrobot时未调用插件的terminate()方法,导致插件资源未能正常释放。

Image

使用场景

Image

你愿意提交PR吗?

  • [x] 是的, 我愿意提交PR!

Code of Conduct

  • [x] 我已阅读并同意遵守该项目的 行为准则。

Raven95676 avatar Mar 29 '25 05:03 Raven95676