Skip to content

Possible event handler leak #19

@joepie91

Description

@joepie91

See

stream.on('finish', onClose)

Shouldn't that be removeListener instead of on? As it stands, it's just re-attaching the onClose handler a second time when it should be cleaning things up.

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