]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java
Resolve "A tag with an associated listener causes issues in DelayedWrite
[simantics/platform.git] / bundles / org.simantics.db.procore / src / fi / vtt / simantics / procore / internal / State.java
index 1e468f2c3f25e2e3e50cc6487fc02e57d3a7017e..815ba7f154867741bda8fae5b543d5f6a38ce3e1 100644 (file)
@@ -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. ");