reset

fun reset()

Reset session state before starting a new session.

Main thread, for the same reason as initialize: streamManager.destroy() tears down IMA's own views and handlers. Kept SYNCHRONOUS rather than posted, because initialize calls it immediately before creating the replacement loader — a posted reset would run after that and null out the NEW session.