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

Open
ruiyong-lee opened this Issue Dec 23, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@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 label Dec 28, 2018

@ruiyong-lee

This comment has been minimized.

Copy link

ruiyong-lee commented Jan 7, 2019

hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment