X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.impl%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fimpl%2Fquery%2FQueryCacheBase.java;h=322e820a2aa76fe0eda4f0bfdc2f971d472d30da;hb=refs%2Fchanges%2F11%2F1911%2F1;hp=a75d6901079fa6d4bab47e41fe24c8524825c5fe;hpb=d0e8f57df83c175bac2098412ee71646fb9ff0e9;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java index a75d69010..322e820a2 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java @@ -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()) {