Skip to content

Remove event listeners upon shutdown? #247

@ghost

Description

It often comes up as a problem in tests that when a scout.shutdown happens the event listeners are never removed, and the tests hang. It might be worth doing to just call .removeAllListeners in scout.shutdown, or add some way to remove all listeners (ScoutShutdownOpts?) and call that from the test functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions