pub fn current_lifecycle() -> Option<Lifecycle>Expand description
Return a clone of the active Lifecycle, if one was registered.
Used by the second-signal force path to run residual finalize without
threading Lifecycle through every browser call site.
Uses try_borrow so re-entrancy cannot panic on the TLS RefCell.