mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-118211 - also avoid double dispose
This commit is contained in:
@@ -2470,6 +2470,7 @@ public class FileBasedIndexImpl extends FileBasedIndex {
|
||||
|
||||
@Override
|
||||
public void removeIndexableSet(@NotNull IndexableFileSet set) {
|
||||
if (!myIndexableSetToProjectMap.containsKey(set)) return; // avoid second unfiltered forceUpdate
|
||||
myChangedFilesCollector.forceUpdate(myIndexableSetToProjectMap.get(set), null, null, true);
|
||||
IndexingStamp.flushCaches();
|
||||
myIndexableSets.remove(set);
|
||||
|
||||
Reference in New Issue
Block a user