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 concurrency issue in CSharpDiagnosticWorker #2333

Merged
merged 1 commit into from
Jan 25, 2022
Merged

Fix concurrency issue in CSharpDiagnosticWorker #2333

merged 1 commit into from
Jan 25, 2022

Conversation

DavidZidar
Copy link
Contributor

List<T> is not thread safe, use ImmutableList and ImmutableInterlocked like CSharpDiagnosticWorkerWithAnalyzers does.

I have reproduced the issue and tested the fix and it seems to work.

Fixes dotnet/vscode-csharp#5017

List<T> is not thread safe, use ImmutableList and ImmutableInterlocked
like CSharpDiagnosticWorkerWithAnalyzers does.
@dnfadmin
Copy link

dnfadmin commented Jan 24, 2022

CLA assistant check
All CLA requirements met.

Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

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

thanks a lot

@filipw filipw merged commit d10ba5b into OmniSharp:master Jan 25, 2022
@DavidZidar DavidZidar deleted the fix-concurrency-issue branch January 25, 2022 20:15
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.

Intellisense (omnisharp) crashes after typing.
4 participants