mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not defer dumb mode start to ensure changed files are processed in dumb mode if needed
This commit is contained in:
@@ -35,7 +35,6 @@ import com.intellij.openapi.module.ModuleManager;
|
||||
import com.intellij.openapi.module.impl.ModuleImpl;
|
||||
import com.intellij.openapi.module.impl.scopes.JdkScope;
|
||||
import com.intellij.openapi.module.impl.scopes.LibraryRuntimeClasspathScope;
|
||||
import com.intellij.openapi.project.DumbAwareRunnable;
|
||||
import com.intellij.openapi.project.DumbServiceImpl;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.project.ex.ProjectEx;
|
||||
@@ -619,11 +618,7 @@ public class ProjectRootManagerImpl extends ProjectRootManagerEx implements Proj
|
||||
return; // in test mode suppress addition to a queue unless project is properly initialized
|
||||
}
|
||||
}
|
||||
myStartupManager.runWhenProjectIsInitialized(new DumbAwareRunnable() {
|
||||
public void run() {
|
||||
DumbServiceImpl.getInstance(myProject).queueCacheUpdate(myRefreshCacheUpdaters);
|
||||
}
|
||||
});
|
||||
DumbServiceImpl.getInstance(myProject).queueCacheUpdate(myRefreshCacheUpdaters);
|
||||
}
|
||||
|
||||
private void addRootsToWatch() {
|
||||
|
||||
Reference in New Issue
Block a user