Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

GetOrCreate* won't add empty entry on throw #216

Merged
merged 1 commit into from
Jul 25, 2016
Merged

Conversation

BrennanConroy
Copy link
Member

@sebastienros
Copy link
Member

:shipit:

// need to manually call dispose instead of having a using
// in case the factory passed in throws, in which case we
// do not want to add the entry to the cache
entry.Dispose();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove all the using's in the file for consistency.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants