handleOnDestroyed

fun handleOnDestroyed(map: MapView? = null, activity: Activity? = null, action: () -> Unit)

INTERNAL function to handle lifecycle events