From e478bb19f9329b3e7cd1c920ea8f5bdc63330f0e Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Tue, 18 Dec 2018 16:55:23 +0200 Subject: [PATCH] Fixed database request threading issue in FlagUtil.join gitlab #234 Change-Id: Ic97e56de1af19938e622143bf9acbe2f6154f74a --- .../src/org/simantics/diagram/flag/FlagUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/flag/FlagUtil.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/flag/FlagUtil.java index 2d6c91e61..d38a301da 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/flag/FlagUtil.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/flag/FlagUtil.java @@ -186,9 +186,9 @@ public final class FlagUtil { IActivationManager manager = g.getService(IActivationManager.class); for(Resource diagram : OrderedSetUtils.getSubjects(g, flag)) - manager.activateOnce(diagram); + manager.activateOnce(g, diagram); for(Resource diagram : OrderedSetUtils.getSubjects(g, otherFlag)) - manager.activateOnce(diagram); + manager.activateOnce(g, diagram); return connectionJoin; } -- 2.47.1