]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed database request threading issue in FlagUtil.join 67/2567/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 18 Dec 2018 14:55:23 +0000 (16:55 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 18 Dec 2018 14:55:23 +0000 (16:55 +0200)
gitlab #234

Change-Id: Ic97e56de1af19938e622143bf9acbe2f6154f74a

bundles/org.simantics.diagram/src/org/simantics/diagram/flag/FlagUtil.java

index 2d6c91e61e7dc1e6833a4d4404d97461c3e3c293..d38a301da3c4a9d93dc60c2de926eaa41af5aea7 100644 (file)
@@ -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;
     }