onStop

fun onStop(block: (e: Exception?) -> Unit)

See also