Skip to content

Uncatched error in async process.pollExit method #13

@marcbachmann

Description

@marcbachmann

When executing group.stop multiple times simultaneously, it throws an error.
The process.stop method is async but calls a sync method which can throw an error.
The error should be catched and returned in the callback.
https://github.com/tj/node-mongroup/blob/master/lib/process.js#L195

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