diff --git a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt index 845c82a4561..24d6efa1b2b 100644 --- a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt +++ b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.kt @@ -427,7 +427,6 @@ object KotlinToJVMBytecodeCompiler { } CodegenFactory.doCheckCancelled(generationState) generationState.factory.done() - performanceManager?.notifyGenerationFinished() ProgressIndicatorAndCompilationCanceledStatus.checkCanceled() @@ -444,6 +443,7 @@ object KotlinToJVMBytecodeCompiler { ) performanceManager?.notifyIRGenerationFinished() + performanceManager?.notifyGenerationFinished() ProgressIndicatorAndCompilationCanceledStatus.checkCanceled() outputs[module] = generationState }