void (@NotNull Project project) { String projectPath = getProjectPath(project); cancelPreloadedBuilds(projectPath); boolean clearNameCache = false; synchronized (myProjectDataMap) { ProjectData data = myProjectDataMap.get(projectPath); if (data != null) { data.dropChanges(); clearNameCache = myProjectDataMap.size() == 1; } } if (clearNameCache) { InternedPath.clearCache(); } scheduleAutoMake(); }