Skip to content

Karma doesn't clean up Socket.IO listeners when exiting #2980

@briandipalma

Description

@briandipalma

Expected behaviour

Karma should clean up resources when exiting.

Actual behaviour

It doesn't.

Environment Details

  • Karma version (output of karma --version): 2.0.0
  • Relevant part of your karma.config.js file

Steps to reproduce the behaviour

  1. Use Karma API to create Server after Server
  2. Watch memory grow after each run.
  3. Node dies.

PR incoming, just needed a GitHub issue.

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