Commit 0206b006 authored by Evan W. Patton's avatar Evan W. Patton Committed by Susan Rati Lane

Fix clearing of MockFeatureCollection when Source is None

Change-Id: Icf74d804689dcaa323bac3b4d1f0400631b74a5e
parent 9d950986
...@@ -106,6 +106,9 @@ public class MockFeatureCollection extends MockContainer implements MockMapFeatu ...@@ -106,6 +106,9 @@ public class MockFeatureCollection extends MockContainer implements MockMapFeatu
removeComponent(component, true); removeComponent(component, true);
component.onRemoved(); component.onRemoved();
} }
children.clear();
features.clear();
clearLayers();
return; return;
} }
long projectId = Ode.getInstance().getCurrentYoungAndroidProjectId(); long projectId = Ode.getInstance().getCurrentYoungAndroidProjectId();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment