@Override
  public void onProjectClosing(@NotNull Project project) {
    myIndexableSets.removeIf(p -> p.second.equals(project));
    Ref<Long> lastSeenIndex = myLastSeenIndexesInOrphanQueue.remove(project);
    persistDirtyFiles(project, lastSeenIndex.isNull() ? 0 : lastSeenIndex.get());
    getChangedFilesCollector().getDirtyFiles().removeProject(project);
    myFilesToUpdateCollector.getDirtyFiles().removeProject(project);
    myDirtyFiles.removeProject(project);
    myIndexableFilesFilterHolder.onProjectClosing(project, vfsCreationStamp);
  }
@Override
  public void onProjectClosing(@NotNull Project project)