import org.simantics.db.exception.DatabaseException;
import org.simantics.db.exception.InternalException;
import org.simantics.db.exception.RuntimeDatabaseException;
+import org.simantics.db.impl.graph.ReadGraphImpl;
import org.simantics.db.impl.graph.WriteGraphImpl;
import org.simantics.db.impl.query.QueryProcessor;
import org.simantics.db.request.WriteOnly;
// start = System.nanoTime();
queryProvider.propagateChangesInQueryCache(graph);
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. ");