Skip to main content

Mountain/Vine/Client/
MarkShutdown.rs

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