Skip to content

Event listeners are never released #562

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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