Skip to content

nested dynamic components occur memory leaks #10544

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
15757115286 opened this issue Sep 21, 2019 · 1 comment
Closed

nested dynamic components occur memory leaks #10544

15757115286 opened this issue Sep 21, 2019 · 1 comment

Comments

@15757115286
Copy link

Version

2.6.10

Reproduction link

https://codepen.io/15757115286/pen/MWgZYgg

Steps to reproduce

  1. collect garbage and take a snapshot before click the button toggleB

2.click button toggleB, change the value of the input

3.click button toggle A, make sure the external dynamic component is componentA

4.collect garbage and take a snapshot

What is expected?

the delta of the VueComponent is 0

What is actually happening?

the delta of the VueComponent is bigger than 0


the version of the chrome is 77.0.3865.90
when toggle the componet repeatedly, the count of VueComponent in memory is always increase

@15757115286 15757115286 changed the title nested dynamic components occur memory leaks when internal dynamic component bind event or has a v-model directive nested dynamic components occur memory leaks Sep 21, 2019
@posva
Copy link
Member

posva commented Sep 21, 2019

seems to be related to the inputs
Duplicate of #10004

@posva posva closed this as completed Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants