pub(crate) fn exit_runtime<F: FnOnce() -> R, R>(f: F) -> R
Forces the current “entered” state to be cleared while the closure is executed.