Skip to main content

Mountain/Vine/Client/
MarkShutdown.rs

1#![allow(non_snake_case)]
2
3//! Flip the global Vine-client shutdown flag. Called from
4//! `RunTime::Shutdown::ShutdownCocoonWithRetry` immediately before
5//! `HardKillCocoon` so any inflight notification attempted after the
6//! SIGKILL window returns silently with `Ok(())` instead of logging a
7//! `Connection refused` error.
8
9use crate::Vine::Client::Shared;
10
11pub fn Fn() { Shared::ShutdownFlagStore(true); }