Skip to content
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

memory leak by dynamically sets keep-alive "include" to router-view #2549

Closed
ruiyong-lee opened this issue Dec 23, 2018 · 1 comment · Fixed by vuejs/vue#12015
Closed

memory leak by dynamically sets keep-alive "include" to router-view #2549

ruiyong-lee opened this issue Dec 23, 2018 · 1 comment · Fixed by vuejs/vue#12015
Labels
keep-alive Problem appearing when using keep-alive

Comments

@ruiyong-lee
Copy link

ruiyong-lee commented Dec 23, 2018

Version

3.0.2

Reproduction link

https://jsfiddle.net/a5qb0m8u/19/

Steps to reproduce

1、click “Go to Home” enter "Home",create heap snapshot 1
image

2、click “Go to Page” enter "Page"

3、click button “add Page to include”

4、click “Go to Home” enter "Home"

5、click button “remove Page from include”, create heap snapshot 2

Compare snapshot 1 with snapshot 2
image

What is expected?

No memory leak

What is actually happening?

Memory leak

@posva posva added the keep-alive Problem appearing when using keep-alive label Dec 28, 2018
@ruiyong-lee
Copy link
Author

ruiyong-lee commented Jan 7, 2019

hello, anyone ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep-alive Problem appearing when using keep-alive
Projects
None yet
2 participants