onDestroy

abstract fun onDestroy()

Ends the lifecycle of the object.