-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid deadlocks in TypeDescriptor #97236
Conversation
Tagging subscribers to this area: @dotnet/area-system-componentmodel Issue DetailsFixes #97179 The new test deadlocked about half of the time before the change here.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, fix looks reasonable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually look like this is failing validation tests added with previous PR, seeing if I can spot what might be causing it.
src/libraries/System.ComponentModel.TypeConverter/tests/TypeDescriptorTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix LGTM other than Eric's comments on the tests.
CI failure unrelated: #97241 |
LGTM. Thanks for catching this. |
Fixes #97179
The new test deadlocked about half of the time before the change here.