You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
It seems wrong that a cache entry is added with the value null when the factory method throws:
try
{
memoryCache.GetOrCreate("key", entry =>
{
throw new Exception();
return 123;
});
} catch (Exception e)
{
// memoryCache now has an entry for "key" with the value null. This seems odd.
}
The expected behaviour should be that the value is not added to the cache if the factory throws.
The text was updated successfully, but these errors were encountered:
When will preview 1 be released?
We just got hit hard by this bug, we'll might have to use the nightly builds on production 😢 until it's being released.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems wrong that a cache entry is added with the value
null
when the factory method throws:The expected behaviour should be that the value is not added to the cache if the factory throws.
The text was updated successfully, but these errors were encountered: