We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6701931 commit d9471d9Copy full SHA for d9471d9
libnavigation-core/src/androidTest/java/com/mapbox/navigation/core/trip/service/ArtificialDriverTest.kt
@@ -121,8 +121,11 @@ private suspend fun withNavigators(
121
.accessToken(context.getString(R.string.mapbox_access_token))
122
.build()
123
)
124
- block(mapboxNavigation, MapboxNativeNavigatorImpl)
125
- mapboxNavigation.onDestroy()
+ try {
+ block(mapboxNavigation, MapboxNativeNavigatorImpl)
126
+ } finally {
127
+ mapboxNavigation.onDestroy()
128
+ }
129
}
130
131
private fun getTestRoute(): NavigationRoute {
0 commit comments