fix: dispose plugin service will cause crash#115
Conversation
|
Run and Debug this pull request in Codespaces |
WalkthroughWalkthrough此次更改聚焦于增强错误处理机制,主要通过引入新的工具函数 Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Types
Background or solution
卸载组件的时候会报错
ChangeLog
fix some crashes about dispose
Summary by CodeRabbit
新功能
tryCatchPromise函数,以增强异步操作的错误处理。PluginService类中添加了dispose方法,以改善插件的生命周期管理。改进
错误修复