1 2 3 4 5 6 7 8 9
use anyhow::Result; use crate::global_state::GlobalState; pub(crate) fn handle_shutdown(state: &mut GlobalState, _params: ()) -> Result<()> { state.request_shutdown(); Ok(()) }