[IC] Flush incremental caches on close
#KT-53168 Fixed
This commit is contained in:
committed by
Space
parent
0950205a47
commit
5cae57cf28
+1
-1
@@ -192,7 +192,7 @@ abstract class IncrementalCompilerRunner<
|
|||||||
"Incremental compilation analysis failed: ${e.stackTraceToString()}.\nFalling back to non-incremental compilation."
|
"Incremental compilation analysis failed: ${e.stackTraceToString()}.\nFalling back to non-incremental compilation."
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
if (!caches.close()) {
|
if (!caches.close(flush = true)) {
|
||||||
reporter.report { "Unable to close IC caches. Cleaning internal state" }
|
reporter.report { "Unable to close IC caches. Cleaning internal state" }
|
||||||
cleanOutputsAndLocalStateOnRebuild(args)
|
cleanOutputsAndLocalStateOnRebuild(args)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user