[LL FIR] fix possible race in cached value reading in ValueWithPostCompute
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ internal class ValueWithPostCompute<KEY, VALUE, DATA>(
|
||||
throw stateSnapshot.error
|
||||
}
|
||||
else -> {
|
||||
return value as VALUE
|
||||
return stateSnapshot as VALUE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user