pub fn is_shutting_down() -> bool {
    // ## Correctness:
    //
    // Since we're shutting down, and this is a one-time operation,
    // performance is not important. So we use the strongest memory
    // ordering.
    // https://doc.rust-lang.org/nomicon/atomics.html#sequentially-consistent
    IS_SHUTTING_DOWN.load(Ordering::SeqCst)
}
/// Returns true if the application is shutting down.
///
/// Returns false otherwise.
Returns true if the application is shutting down.
Returns false otherwise.
Returns true if the application is shutting down . Returns false otherwise .
pub fn is_shutting_down() -> bool {
    // ## Correctness:
    //
    // Since we're shutting down, and this is a one-time operation,
    // performance is not important. So we use the strongest memory
    // ordering.
    // https://doc.rust-lang.org/nomicon/atomics.html#sequentially-consistent
    IS_SHUTTING_DOWN.load(Ordering::SeqCst)
}
pub fn is_shutting_down ( ) -> bool { // ## Correctness: // // Since we're shutting down, and this is a one-time operation, // performance is not important. So we use the strongest memory // ordering. // https://doc.rust-lang.org/nomicon/atomics.html#sequentially-consistent IS_SHUTTING_DOWN . load ( Ordering :: SeqCst ) }
Returns true if the application is shutting down.
Returns true if the application is shutting down .