Module zebra_chain::shutdown
source · Expand description
Shutdown related code.
A global flag indicates when the application is shutting down so actions can be taken at different parts of the codebase.
Statics§
- A flag to indicate if Zebra is shutting down.
Functions§
- Returns true if the application is shutting down.
- Sets the Zebra shutdown flag to
true
.