We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e142c2 commit 6bc3884Copy full SHA for 6bc3884
1 file changed
libnavui-androidauto/src/main/java/com/mapbox/androidauto/car/placeslistonmap/PlacesListOnMapManager.kt
@@ -85,6 +85,8 @@ class PlacesListOnMapManager(
85
styleLoadedListener = null
86
MapboxNavigationApp.unregisterObserver(navigationObserver)
87
carMapSurface = null
88
+ coroutineScope?.cancel()
89
+ coroutineScope = null
90
}
91
92
private fun onAttached(mapboxNavigation: MapboxNavigation) {
@@ -99,8 +101,6 @@ class PlacesListOnMapManager(
99
101
100
102
private fun onDetached() {
103
placesListItemMapper = null
- coroutineScope?.cancel()
- coroutineScope = null
104
105
106
private fun loadPlaceRecords() {
0 commit comments