Fix neraby leak B, leak caused map marker's have reference to activity stays remain on destroy fragment

This commit is contained in:
neslihanturan 2018-03-29 16:11:30 +03:00
parent 6fc294ab3f
commit 59a7428048

View file

@ -821,6 +821,9 @@ public class NearbyMapFragment extends DaggerFragment {
if (mapView != null) {
mapView.onDestroy();
}
selected = null;
currentLocationMarker = null;
super.onDestroyView();
}