Skip to content

bug: Memory leak #209

@raymondboswel

Description

@raymondboswel

Prerequisites

Stencil Store Version

2.0.3

Stencil Version

2.22.2

Current Behavior

Nodes aren't garbage collected when using stencil/store.

Expected Behavior

Nodes should get garbage collected.

Steps to Reproduce

Clone https://github.com/raymondboswel/stencil-redux-example
In terminal a: cd mock-server; node server.ts
In terminal b: npm run start

Open performance monitor, and memory tab. Trigger garbage collector. Take note of nodes count.

Spam click 'Toggle RxJS Todos' button. Trigger garbage collector. Take note of nodes count.

Spam click 'Toggle Stencil/store Todos' button. Trigger garbage collector & notice that nodes count does not decrease.

Code Reproduction URL

https://github.com/raymondboswel/stencil-redux-example

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: ValidatedThis PR or Issue is verified to be a bug within Stencil StoreResolution: Needs InvestigationThis PR or Issue should be investigated from the Stencil team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions