beforeOnDestroy

fun beforeOnDestroy(forceCleanup: Boolean = false)(source)