mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-04 22:23:47 -04:00
potential fix for the rare mapbox native crash (use onDestroyView)
This commit is contained in:
@@ -204,9 +204,9 @@ class MapFragment : ScreenFragment("Map"), Logging {
|
||||
mapView?.onResume()
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
override fun onDestroyView() {
|
||||
mapView?.onDestroy()
|
||||
super.onDestroy()
|
||||
super.onDestroyView()
|
||||
}
|
||||
|
||||
override fun onSaveInstanceState(outState: Bundle) {
|
||||
|
||||
Reference in New Issue
Block a user