Skip to content

Fix race conditions with resolving singletons in DI#47310

Merged
maryamariyan merged 14 commits intodotnet:masterfrom
maryamariyan:di-race-conditions
Jan 23, 2021
Merged

Fix race conditions with resolving singletons in DI#47310
maryamariyan merged 14 commits intodotnet:masterfrom
maryamariyan:di-race-conditions

Conversation

@maryamariyan
Copy link
Contributor

@maryamariyan maryamariyan commented Jan 22, 2021

  • Fixes two race conditions + adds tests for both cases.

Related PR and comments: #46157 (comment)

@ghost
Copy link

ghost commented Jan 22, 2021

Tagging subscribers to this area: @eerhardt, @maryamariyan
See info in area-owners.md if you want to be subscribed.

Issue Details

TODO:

  • Add tests
Author: maryamariyan
Assignees: -
Labels:

area-Extensions-DependencyInjection

Milestone: -

@maryamariyan maryamariyan marked this pull request as ready for review January 22, 2021 06:04
@maryamariyan
Copy link
Contributor Author

Applied PR feedback per commit so it's easier to review.

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

Looks good. Nice work fixing these issues.

@maryamariyan
Copy link
Contributor Author

Thanks for the reviews, glad we're getting to fit this into preview 1.

@maryamariyan maryamariyan merged commit 6cf1b8e into dotnet:master Jan 23, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Feb 22, 2021
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.

3 participants