Skip to content

Disable node-related API endpoints when node is shutting down #2018

@rolznz

Description

@rolznz

I noticed it's possible (and a crash can happen) when the node is shutting down. e.g. if someone presses the shutdown button and then tries to connect a peer.

Normally shutdown is fast but sometimes it's delayed by a node sync or other node-related required actions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions