onDestroy

open fun onDestroy()

Cleanup method called when the component is being destroyed. Cancels all active futures and clears internal state.