onDestroy

open override fun onDestroy()

Called when destroy is invoked and all of its children have been destroyed.