pub(crate) fn release_after_event<T: Message>(object: Retained<T>)
Hands the object to the run loop’s autorelease pool, which drains after each event.