Invalidate inFlightRequests on errors
This commit is contained in:
parent
a24433177f
commit
c3c2055047
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ internal class RealInternalStore<Raw, Parsed, Key>(
|
|||
.await()
|
||||
} catch (e: Exception) {
|
||||
memCache.invalidate(key)
|
||||
inFlightRequests.invalidate(key)
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue