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()
|
.await()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
memCache.invalidate(key)
|
memCache.invalidate(key)
|
||||||
|
inFlightRequests.invalidate(key)
|
||||||
throw e
|
throw e
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue