From: Tuukka Lehtonen Date: Tue, 18 Dec 2018 14:55:23 +0000 (+0200) Subject: Fixed database request threading issue in FlagUtil.join X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=4f5af50224db54e8b4abaea1a075989dd142b3ee;p=simantics%2Fplatform.git Fixed database request threading issue in FlagUtil.join gitlab #234 Change-Id: Ic97e56de1af19938e622143bf9acbe2f6154f74a (cherry picked from commit e478bb19f9329b3e7cd1c920ea8f5bdc63330f0e) --- 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; }