Skip to content

Minor hardenings in SingletonCache and Lifetime - #828

Open
advdotnet wants to merge 1 commit into
bitfaster:mainfrom
advdotnet:main
Open

advdotnet wants to merge 1 commit into
bitfaster:mainfrom
advdotnet:main

Conversation

@advdotnet

Copy link
Copy Markdown
Contributor

* Make Lifetime.Dispose thread-safe
* SingletonCache.Acquire: dispose any created value that didn't end up in the ConcurrentDictionary
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 99.214% (+0.06%) from 99.158% — advdotnet:main into bitfaster:main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants