]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java
Fixed asynchronous recompute problems
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / query / QueryCacheBase.java
index a75d6901079fa6d4bab47e41fe24c8524825c5fe..322e820a2aa76fe0eda4f0bfdc2f971d472d30da 100644 (file)
@@ -635,9 +635,7 @@ public class QueryCacheBase {
                }
        }
        
-       public static void waitPending(ReadGraphImpl graph, CacheEntry entry) throws DatabaseException {
-               
-               QueryProcessor processor = graph.processor;
+       public static void waitPending(QueryProcessor processor, CacheEntry entry) throws DatabaseException {
                
                int counter = 0;
                while(entry.isPending()) {