Invalidate inFlightRequests on errors

This commit is contained in:
fabioCollini 2019-05-27 16:13:45 +02:00
parent a24433177f
commit c3c2055047

View file

@ -66,6 +66,7 @@ internal class RealInternalStore<Raw, Parsed, Key>(
.await()
} catch (e: Exception) {
memCache.invalidate(key)
inFlightRequests.invalidate(key)
throw e
}
}