mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fix neraby leak B, leak caused map marker's have reference to activity stays remain on destroy fragment
This commit is contained in:
parent
6fc294ab3f
commit
59a7428048
1 changed files with 3 additions and 0 deletions
|
|
@ -821,6 +821,9 @@ public class NearbyMapFragment extends DaggerFragment {
|
|||
if (mapView != null) {
|
||||
mapView.onDestroy();
|
||||
}
|
||||
selected = null;
|
||||
currentLocationMarker = null;
|
||||
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue