Skip to content

shutdown method on master doesn't do the shutdown #86

@nulltier

Description

@nulltier

Here

this.emit('shutdown');
shutdown method emits the "shutdown" event.

_onSignalQuit knows about the issue and attaching one-time listener for itself

.once('shutdown', () => process.exit(0))

Without proper on shutdown listener users have no ability to stop luster from their code, only the system signals 'SIGINT' and 'SIGQUIT' can do the job.

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