We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onunload
插件 API onunload 没有被调用
plugin 的 onunload hook 没有被调用,导致一些资源没有被释放。
正常调用
No response
- Version: 2.8.8 - Operating System: win10 - Browser (if used): 无
无
The text was updated successfully, but these errors were encountered:
目前还没想好调用时机,是在卸载或禁用的时候,亦或是其他时候?
Sorry, something went wrong.
应该是禁用的时候,卸载应该另外提供别的接口。
以我的为例,我的插件有部分功能需要监听 DOM 的变化,必须才在禁用的时候手动把监听器释放掉。
至于卸载的接口,可以后面在额外加。
卸载的时候也是先需要先禁用再移除,那我就先加在这两个地方吧。
🎨 fix #8277
63c83a2
Vanessa219
No branches or pull requests
插件 API onunload 没有被调用
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
plugin 的 onunload hook 没有被调用,导致一些资源没有被释放。
Expected result
正常调用
Screenshot or screen recording presentation
No response
Version environment
Log file
无
More information
No response
The text was updated successfully, but these errors were encountered: