Skip to main content

SHUTDOWN

Static SHUTDOWN 

Source
pub(crate) static SHUTDOWN: AtomicBool
Expand description

Consumer-gone gate, set by shutdown: the detached compositor and delivery threads must never call a sink again, since the Python bridge runs shutdown from atexit and a sink attaching to a finalizing interpreter aborts the process (pre-3.13). Cleared by a fresh capture start (only a live consumer can start one).