mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[threading] IJPL-155995: Run write action on EDT
(cherry picked from commit 691220608482abe5c7c96740fb2c481482817911) IJ-CR-154083 GitOrigin-RevId: 984a65dc7d423087fbe942f6725389c4a41a972c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f9739a1e1e
commit
4caae243a1
@@ -259,7 +259,9 @@ public final class IdeaJdk extends JavaDependentSdkType implements JavaSdkType {
|
||||
}
|
||||
}
|
||||
|
||||
ApplicationManager.getApplication().runWriteAction(() -> sdkModificator.commitChanges());
|
||||
ApplicationManager.getApplication().invokeAndWait(() -> {
|
||||
ApplicationManager.getApplication().runWriteAction(() -> sdkModificator.commitChanges());
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user