Skip to content

Trigger组件导致内存泄漏 #1482

New issue

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

Closed
1 task done
Reson-a opened this issue Nov 29, 2019 · 1 comment
Closed
1 task done

Trigger组件导致内存泄漏 #1482

Reson-a opened this issue Nov 29, 2019 · 1 comment
Labels

Comments

@Reson-a
Copy link
Contributor

Reson-a commented Nov 29, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.8

Environment

Vue 2.6.1 chrome 78

Reproduction link

Edit on CodeSandbox

Steps to reproduce

任何带有trigger的组件渲染执行时
如示例 点击 按钮几百次后

What is expected?

内存占用不变

What is actually happening?

出现内存泄漏,渲染创建的节点VNode没有被正确回收 ,大型应用长时间使用会造成卡顿

image
image
image
image

这里有个闭包

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants