Fix removing listener

This commit is contained in:
PavelRatushnyi 2017-10-14 16:22:04 +03:00
parent 631b008a78
commit cba0c167aa

View file

@ -104,7 +104,7 @@ public class OsmEditsFragment extends OsmAndListFragment
@Override @Override
public void onDestroyView() { public void onDestroyView() {
plugin.getPoiModificationLocalUtil().removeNodeCommittedListener(null); plugin.getPoiModificationLocalUtil().removeNodeCommittedListener(this);
super.onDestroyView(); super.onDestroyView();
} }