Skip to main content

Module shutdown

Module shutdown 

Source
Expand description

ctrl-c / SIGTERM shutdown flag for waratah start.

Until this existed, interrupting waratah start orphaned every child: the default SIGINT disposition kills the orchestrator without running the SpawnedCluster / supervisor Drop guards. With a handler installed, the process stays alive long enough to kill its children (and the notebook sidecar’s process group) and exit cleanly. waratah stop rides the same path via SIGTERM.

Structs§

ShutdownWatch 🔒
Cloneable view of the “shut down now” flag.