refs #572
Change-Id: I3609ab9207fd01710aeb7c00debae259d1dc08c3
progress.subTask("Flushing Index Caches");
try {
Simantics.flushIndexCaches(progress.newChild(20), s);
progress.subTask("Flushing Index Caches");
try {
Simantics.flushIndexCaches(progress.newChild(20), s);
+ if("true".equals(System.getProperty("org.simantics.db.persistQueries")))
+ Simantics.saveQueries(s);
} catch (Throwable t) {
LOGGER.error("Failed to flush index caches.", t);
}
} catch (Throwable t) {
LOGGER.error("Failed to flush index caches.", t);
}