onDestroy

fun onDestroy()

Call this method whenever this instance of the MapboxNavigation is not going to be used anymore and should release all of its resources.