Skip to content

Fire shutdown callback only after closing all connections #7

@rmdm

Description

@rmdm

Currently, shutdown callback called almost immediately after calling server.shutdown() (by process.nextTick). It seems that more desirable behaviour would be to wait for all connections to close to give shutdown-handling code better idea on when to close other resources that may be further used by not yet closed connections.

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