Skip to main content

IN_FLUSH

Constant IN_FLUSH 

Source
const IN_FLUSH: LocalKey<Cell<bool>>;
Expand description

Whether this thread is in a SentryPolicy::flush_if, so that the panic hook’s flush returns instead of waiting for a flush that panicked on the same thread.