X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.procore%2Fsrc%2Ffi%2Fvtt%2Fsimantics%2Fprocore%2Finternal%2FState.java;fp=bundles%2Forg.simantics.db.procore%2Fsrc%2Ffi%2Fvtt%2Fsimantics%2Fprocore%2Finternal%2FState.java;h=815ba7f154867741bda8fae5b543d5f6a38ce3e1;hb=ad52c4f20eb1364a48294120a5acd1ecf08e43f7;hp=1e468f2c3f25e2e3e50cc6487fc02e57d3a7017e;hpb=6a531d450a993e5fce9383670708ebc370208a76;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java index 1e468f2c3..815ba7f15 100644 --- a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java +++ b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java @@ -341,10 +341,13 @@ class State { // start = System.nanoTime(); queryProvider.propagateChangesInQueryCache(graph); - ReadGraphImpl listenerGraph = graph.forRecompute(null); - listenerGraph.asyncBarrier.inc(); - queryProvider.listening.fireListeners(listenerGraph); - listenerGraph.asyncBarrier.dec(); + queryProvider.listening.fireListeners(graph); + +// ReadGraphImpl listenerGraph = graph.forRecompute(null); +// listenerGraph.asyncBarrier.inc(); +// queryProvider.listening.fireListeners(listenerGraph); +// listenerGraph.asyncBarrier.dec(); + // duration = System.nanoTime() - start; // System.out.println("performScheduledUpdates " + 1e-9*duration + "s. ");