Skip to content

Memory leak caused by detached nodes after calling Pane.dispose() #637

@michaeldll

Description

@michaeldll

Hello there, thank you for your work. Been using your library for a long time.

However, I'm observing a significant memory leak caused by detached Blade DOM elements, even after calling dispose() on their parent Pane:

Screenshot 2024-12-05 at 17 04 29

I followed the instructions here: https://tweakpane.github.io/docs/misc/#disposing.

Reproducing should be fairly simple:

  1. Start a Chrome Detached Nodes memory trace
  2. Call dispose() on a parent Pane
  3. End the trace

Let me know if I'm missing something.

Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions