Skip to main content

shutdown

Function shutdown 

Source
pub fn shutdown()
Expand description

Interpreter teardown: drop the Python callback (the caller holds the GIL, so the decref is immediate) and signal the thread without joining — PY_SHUTDOWN already gates it off Python, and a normal capture stop reaps it via release.