mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DocumentReferenceManagerImpl: go back to using slower but safer iterInDbChildren (IDEA-CR-55670)
for the unlikely case when someone loads a new child into memory from persistence and creates a doc reference to it just before deletion events are fired GitOrigin-RevId: dcd9d593bfa29ad6730df20dc9212a4e98b37858
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4ca40ef118
commit
6e21d43b21
+1
-1
@@ -87,7 +87,7 @@ public final class DocumentReferenceManagerImpl extends DocumentReferenceManager
|
||||
files.add(f);
|
||||
}
|
||||
else {
|
||||
for (VirtualFile each : ((NewVirtualFile)f).getCachedChildren()) {
|
||||
for (VirtualFile each : ((NewVirtualFile)f).iterInDbChildren()) {
|
||||
collectDeletedFiles(each, files);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user