Skip to content

removeListener? #91

@fabdrol

Description

@fabdrol

AFAIK there's no way to call removeListener on a channel. This poses some questions:

  • When I create a raw channel, and it stops (onStopped event), are the listeners garbage collected or do they persist? Can I safely set the variable holding the reference to the result of createRawChannel to undefined, then create a new raw channel, without leaking memory?

  • If I want to de-register a listener for a running channel, and register a new listener, how do I handle that?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions