]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Synchronize G2DSceneGraph.isPending
authorJussi Koskela <jussi.koskela@semantum.fi>
Tue, 9 Mar 2021 08:21:43 +0000 (10:21 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 9 Mar 2021 12:24:28 +0000 (14:24 +0200)
(cherry picked from commit a64df030259c8cd9a63a940801c5a43deb650323)

bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/G2DSceneGraph.java

index a013dc0419a74ab386d50f5c554fd6190b18e81b..df28d317f692adbe10c506353bc3ad73c5687caf 100644 (file)
@@ -335,7 +335,7 @@ public class G2DSceneGraph extends G2DParentNode implements ILookupService, INod
         }
     }
 
-    public boolean isPending() {
+    synchronized public boolean isPending() {
         return !pending.isEmpty();
     }