mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Skip event processing to avoid deadlock (IDEA-193172), r=Peter
This commit is contained in:
@@ -1966,7 +1966,10 @@ public class FileBasedIndexImpl extends FileBasedIndex implements BaseComponent,
|
||||
return myFilesToUpdate.containsKey(Math.abs(getIdMaskingNonIdBasedFile(file)));
|
||||
}
|
||||
|
||||
public void ensureUpToDate() {
|
||||
void ensureUpToDate() {
|
||||
if (!isUpToDateCheckEnabled()) {
|
||||
return;
|
||||
}
|
||||
//assert ApplicationManager.getApplication().isReadAccessAllowed() || ShutDownTracker.isShutdownHookRunning();
|
||||
waitUntilIndicesAreInitialized();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user