shutdown_forge

Function shutdown_forge 

Source
pub fn shutdown_forge() -> Result<()>
Expand description

Full graceful shutdown with progress reporting and cleanup

Shuts down all running tools, flushes caches, closes file watchers, and performs cleanup. Should be called before application exit.

ยงExample

use dx_forge::shutdown_forge;

fn main() -> anyhow::Result<()> {
    dx_forge::initialize_forge()?;
    // ... do work ...
    shutdown_forge()?;
    Ok(())
}