Skip to content

vue-router positionStore memory leak #3445

Closed
@hezedu

Description

@hezedu

Version

3.4.9

Reproduction link

https://hezedu.github.io/SomethingBoring/vue-router-positionstore-memory-leak/index.html

Steps to reproduce

I read the source code and found that positionStore has only set, not deleted.

What is expected?

The data in positionStore should be cleared on history.push() or history.replace().

What is actually happening?

The memory haspmap:positionStore will continue to grow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions