Skip to content

Introduce a proper shutdown procedure #35

Description

@heavyrubberslave

See #34

server.close() of express should be called in a callback listening on SIGTERM or maybe other outside signals. This will emit the close event and devices can be tried to be reset. Only thing is that the shutdown function registered for the signals is not guaranteed to finish properly before the process is killed. But maybe more a theoretical problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions