[LL FIR] invalidate ValueWithPostCompute cache state on PCE
This commit is contained in:
+3
-1
@@ -78,7 +78,9 @@ internal class ValueWithPostCompute<KEY, VALUE, DATA>(
|
||||
_postCompute!!(key, calculated, data)
|
||||
calculated
|
||||
} catch (e: Throwable) {
|
||||
if (e !is ProcessCanceledException) {
|
||||
if (e is ProcessCanceledException) {
|
||||
value = ValueIsNotComputed
|
||||
} else {
|
||||
value = ExceptionWasThrownDuringValueComputation(e)
|
||||
}
|
||||
throw e
|
||||
|
||||
Reference in New Issue
Block a user