Skip to content

Release the AsyncLazy delegate when the result has been obtained.#269

Open
timcassell wants to merge 1 commit intoStephenCleary:masterfrom
timcassell:release-asynclazy-delegate
Open

Release the AsyncLazy delegate when the result has been obtained.#269
timcassell wants to merge 1 commit intoStephenCleary:masterfrom
timcassell:release-asynclazy-delegate

Conversation

@timcassell
Copy link

Fixes #256.

@TonyValenti
Copy link

Great Fix! Way back in the early .NET framework days I discovered that Lazy<> had this same issue too.

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.

The AsyncLazy<T> does not release resources closed over by the factory delegate

4 participants