Skip to content

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

@ruiyong-lee

Description

@ruiyong-lee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    keep-aliveProblem appearing when using keep-alive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions