mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
waitAnalysisToFinish: do not wait for FUSProjectHotStartUpMeasurerService in isHeadlessEnvironment as isHandlingFinished is not triggered in headless mode
GitOrigin-RevId: 6a75aff74656cb094307604457b2712b218c6093
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f29e56fb66
commit
e44b48bcaa
@@ -139,7 +139,7 @@ class CodeAnalysisStateListener(val project: Project, val cs: CoroutineScope) {
|
||||
launch {
|
||||
while (true) {
|
||||
@Suppress("TestOnlyProblems")
|
||||
if (!service<FUSProjectHotStartUpMeasurerService>().isHandlingFinished() && !future.isDone) {
|
||||
if (!ApplicationManagerEx.getApplication().isHeadlessEnvironment && !service<FUSProjectHotStartUpMeasurerService>().isHandlingFinished() && !future.isDone) {
|
||||
delay(500)
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user