]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed ProfileObserver to remove entry from correct map 97/2297/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 11 Oct 2018 06:57:48 +0000 (09:57 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Thu, 11 Oct 2018 06:57:48 +0000 (09:57 +0300)
gitlab #145

Change-Id: Iab891836783d5de591ec686577769ed480dd5752

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);
     }