Skip to content

once method implementation registers a function with a different name #1

@cdanielsen

Description

@cdanielsen

Current implementation of #once uses a wrapping function to unregister the passed in listener before invoking it one time. This results in the function callbackWrapper being registered on events instead of the actual listener function, resulting in an error when attempting to use #off.

Who wrote this thing anyway?!

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