Skip to content

Event listeners are never released #562

@igor10k

Description

@igor10k

SignalRemoteReceiver when detaching nodes is currently only releasing properties but not event listeners.

if (release && 'properties' in child) {
release(child.properties.peek());
}

Attempting to release them causes an issue when re-ordering nodes though, as the repositioned node will keep referencing the released listener.

The corresponding PR that highlights the issue.

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