remove unnecessary check for isExitInProgress()

GitOrigin-RevId: 9329f449f52869ce7b69b38bddb8871b35e13ff4
This commit is contained in:
Konstantin Bulenkov
2020-08-18 21:12:08 +00:00
committed by intellij-monorepo-bot
parent 060fdc2cd5
commit 9117081296
@@ -19,7 +19,6 @@ import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.ex.ActionUtil;
import com.intellij.openapi.application.*;
import com.intellij.openapi.application.ex.ApplicationEx;
import com.intellij.openapi.application.ex.ApplicationManagerEx;
import com.intellij.openapi.application.ex.ApplicationUtil;
import com.intellij.openapi.diagnostic.Attachment;
import com.intellij.openapi.diagnostic.Logger;
@@ -412,7 +411,7 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
}
final CompletableFuture<ProgressWindow> progress =
createProgressWindowAsyncIfNeeded(progressTitle, canBeCanceled, shouldShowModalWindow && !ApplicationManagerEx.getApplicationEx().isExitInProgress(), project, parentComponent, cancelText);
createProgressWindowAsyncIfNeeded(progressTitle, canBeCanceled, shouldShowModalWindow, project, parentComponent, cancelText);
ProgressRunner<?, ?> progressRunner = new ProgressRunner<>(process)
.sync()