mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-161509 IDEA 2024.3 fails to start if there is no appropriate config folder and Screen Reader is running on the machine
Don't call app-related APIs if app is not loaded (yet). GitOrigin-RevId: 9629f0b80d0cc1608afbc190e23db9d019a2fdf3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9e34643884
commit
576e10c744
@@ -486,8 +486,14 @@ public abstract class DialogWrapper {
|
||||
processDoNotAskOnCancel();
|
||||
}
|
||||
|
||||
//maybe readaction
|
||||
WriteIntentReadAction.run((Runnable)() -> Disposer.dispose(myDisposable));
|
||||
// Can be called very early when there is no application yet
|
||||
if (LoadingState.COMPONENTS_LOADED.isOccurred()) {
|
||||
//maybe readaction
|
||||
WriteIntentReadAction.run((Runnable)() -> Disposer.dispose(myDisposable));
|
||||
}
|
||||
else {
|
||||
Disposer.dispose(myDisposable);
|
||||
}
|
||||
}
|
||||
|
||||
public final void close(int exitCode) {
|
||||
|
||||
Reference in New Issue
Block a user