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 NRE due to dataflow race #5021

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

drewnoakes
Copy link
Member

Fixes a NRE due to a dataflow race condition in PotentialEditorConfigDataSource.

It was possible for ProcessProjectChanged to be called before _broadcastBlock was assigned, leading to a NRE when it was dereferenced.

This exception has been fixed indirectly in master via 2894df4 so does not need to be integrated forward. This PR prevents it happening in 16.3 preview 1.

@tmeschter @jmarolf @jjmew

It was possible for ProcessProjectChanged to be called before _broadcastBlock was assigned, leading to a NRE when it was dereferenced.
@jmarolf jmarolf merged commit 479df9e into dotnet:dev16.3.x Jul 10, 2019
@drewnoakes drewnoakes deleted the dep-node-ri-16.3p1-2 branch July 10, 2019 22:39
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.

4 participants