]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java
Fixed ProfileObserver to remove entry from correct map
[simantics/platform.git] / bundles / org.simantics.scenegraph.profile / src / org / simantics / scenegraph / profile / common / ProfileObserver.java
index 6fc72b3d3ea35d87a36cbe0792793f24c68600bf..efac19055944c8a2ab3bc713dd3100647755d9f8 100644 (file)
@@ -252,7 +252,7 @@ public class ProfileObserver implements EvaluationContext {
         if (value == null) {
             map.remove(key);
             if (map.isEmpty())
-                properties.remove(element);
+                temporaryProperties.remove(element);
         } else
             map.put(key, value);
     }