mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
scheduling rebuild instead of requesting rebuild
This commit is contained in:
@@ -977,7 +977,11 @@ public class FileBasedIndex implements ApplicationComponent {
|
||||
public <K> void scheduleRebuild(final ID<K, ?> indexId, final Throwable e) {
|
||||
LOG.info(e);
|
||||
requestRebuild(indexId);
|
||||
checkRebuild(indexId, false);
|
||||
try {
|
||||
checkRebuild(indexId, false);
|
||||
}
|
||||
catch (ProcessCanceledException ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
private void checkRebuild(final ID<?, ?> indexId, final boolean cleanupOnly) {
|
||||
|
||||
Reference in New Issue
Block a user