Skip to content

Errors in "onPostStart" ext leave listener active forever #3708

@kanongil

Description

@kanongil

Eg. add this listener, and start() the server:

server.ext('onPostStart', () => {

    throw new Error('bye bye');
});

This will leave the server in phase: 'invalid' and started: false. This causes a stop() to skip unlistening.

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions