Skip to content

Avoid memory leaks by holding the .model and .modelDelegate properties in the JS wrapper #14

@ajklein

Description

@ajklein

Right now, .model and .modelDelegate are in NodeRareData as strong references (in a ScriptValue). This will cause memory leaks if the model or modelDelegate have a reference back to the DOM. The easiest solution will be to move them to the JS wrapper, and store them in either internal fields or (more likely) hidden properties.

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