From 4771663b6e8a67f0cdfee6438ee3eeb7c296550b Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Tue, 9 Mar 2021 10:21:43 +0200 Subject: [PATCH] Synchronize G2DSceneGraph.isPending (cherry picked from commit a64df030259c8cd9a63a940801c5a43deb650323) --- .../src/org/simantics/scenegraph/g2d/G2DSceneGraph.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/G2DSceneGraph.java b/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/G2DSceneGraph.java index a013dc041..df28d317f 100644 --- a/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/G2DSceneGraph.java +++ b/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/G2DSceneGraph.java @@ -335,7 +335,7 @@ public class G2DSceneGraph extends G2DParentNode implements ILookupService, INod } } - public boolean isPending() { + synchronized public boolean isPending() { return !pending.isEmpty(); } -- 2.47.1