mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-33922 - AIOOBE: ContainerUtil.process
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ public class InjectedLanguageManagerImpl extends InjectedLanguageManager impleme
|
||||
if (Thread.holdsLock(PsiLock.LOCK)) {
|
||||
// hack for the case when docCommit was called from within PSI modification, e.g. in formatter.
|
||||
// we can't spawn threads to do injections there, otherwise a deadlock is imminent
|
||||
ContainerUtil.process(injected, commitProcessor);
|
||||
ContainerUtil.process(new ArrayList<DocumentWindow>(injected), commitProcessor);
|
||||
}
|
||||
else {
|
||||
commitInjectionsRunnable.run();
|
||||
|
||||
Reference in New Issue
Block a user