mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
potential fix for the rare mapbox native crash (use onDestroyView)
This commit is contained in:
parent
f44d9b16b1
commit
719bef7889
3 changed files with 7 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue