Skip to content

Conversation

@sharwell
Copy link
Contributor

@sharwell sharwell commented Dec 1, 2021

Closes #58004

@sharwell sharwell requested a review from a team as a code owner December 1, 2021 22:24
@ghost ghost added the Area-IDE label Dec 1, 2021
@stephentoub
Copy link
Member

This is now optimistic concurrency, and it's possible two threads could end up concurrently running the delegate, even though only one's result will ever be published and consumed. If that's ok, LGTM (though I'm not clear on why the StrongBox is needed).

@sharwell sharwell marked this pull request as draft December 7, 2021 17:57
@sharwell sharwell marked this pull request as ready for review December 7, 2021 17:58
@sharwell sharwell requested a review from a team as a code owner December 7, 2021 18:19
Copy link

@NTaylorMullen NTaylorMullen left a comment

Choose a reason for hiding this comment

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

Thank you @sharwell!

@sharwell sharwell enabled auto-merge December 8, 2021 23:57
@sharwell sharwell merged commit 0615a77 into dotnet:main Dec 9, 2021
@ghost ghost added this to the Next milestone Dec 9, 2021
@Cosifne Cosifne modified the milestones: Next, 17.1.P3 Jan 5, 2022
@sharwell sharwell deleted the lazy-init branch January 13, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken double-checked locking (data race) in RazorDocumentServiceProviderWrapper

5 participants