From cba0c167aad1082167620716c7d2a3abe2d57212 Mon Sep 17 00:00:00 2001 From: PavelRatushnyi Date: Sat, 14 Oct 2017 16:22:04 +0300 Subject: [PATCH] Fix removing listener --- OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java index 9d529744d0..442bacd7cd 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java @@ -104,7 +104,7 @@ public class OsmEditsFragment extends OsmAndListFragment @Override public void onDestroyView() { - plugin.getPoiModificationLocalUtil().removeNodeCommittedListener(null); + plugin.getPoiModificationLocalUtil().removeNodeCommittedListener(this); super.onDestroyView(); }