Skip to content
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

Fix race in ComWrappers test #51153

Merged
1 commit merged into from
Apr 13, 2021
Merged

Conversation

AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Apr 13, 2021

Since the finalizer thread runs concurrently with the test, we need to atomically decrement the static instance counter.

Fixes #47699

/cc @jkoritzinsky @elinor-fung

Since the finalizer thread runs async with the test, we need to
atomically decrement the static instance counter.
@ghost
Copy link

ghost commented Apr 13, 2021

Hello @AaronRobinsonMSFT!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 10 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit ada0d61 into dotnet:main Apr 13, 2021
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the runtime47699_2 branch April 13, 2021 06:58
@ghost ghost locked as resolved and limited conversation to collaborators May 13, 2021
This pull request was closed.
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.

Test failed: Interop\\COM\\ComWrappers\\API\\ComWrappersTests\\ComWrappersTests.cmd
2 participants