onDestroy

open fun onDestroy()

Cleanup method called when the component is being destroyed. Resets selection state and clears nearby properties to prevent stale data on re-login.