onDestroy

fun onDestroy()

Cleans up resources and clears the listener.