From: Tuukka Lehtonen Date: Tue, 18 Dec 2018 14:55:23 +0000 (+0200) Subject: Fixed database request threading issue in FlagUtil.join X-Git-Tag: v1.43.0~136^2~218 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F2567%2F1;p=simantics%2Fplatform.git Fixed database request threading issue in FlagUtil.join gitlab #234 Change-Id: Ic97e56de1af19938e622143bf9acbe2f6154f74a --- 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; }