Samples: reorder theme dispose

This commit is contained in:
Emux
2020-12-28 14:12:01 +02:00
parent 7d6c623a80
commit b2fd22885e
2 changed files with 5 additions and 5 deletions

View File

@@ -112,14 +112,14 @@ public class MapFragment extends Fragment {
@Override
public void onDestroyView() {
if (theme != null) {
theme.dispose();
theme = null;
}
if (mapView != null) {
mapView.onDestroy();
mapView = null;
}
if (theme != null) {
theme.dispose();
theme = null;
}
super.onDestroyView();
}
}