Mountain/Binary/Shutdown/mod.rs
1//! # Binary::Shutdown
2//!
3//! Graceful shutdown sequences for the Mountain binary.
4//! Called from the Tauri `on_window_event` / `CloseRequested` handler
5//! to drain the Tokio scheduler and terminate the async runtime cleanly
6//! before the process exits.
7
8/// Drain pending tasks and shut down the Tokio runtime.
9pub mod RuntimeShutdown;
10
11/// Flush the task scheduler queue and cancel outstanding timers.
12pub mod SchedulerShutdown;