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 breakpoint setting deadlock #1112

Merged

Conversation

TylerLeonhardt
Copy link
Member

We were using a boolean as a check for if something was currently happening... and when we moved to Omnisharp lib it was kinda being used as a lock :)

This caused a deadlock. Proper thread safety has prevented the deadlock.

@TylerLeonhardt
Copy link
Member Author

This doesn't seem to fully fix PowerShell/vscode-powershell#2319 but it's still better code.

@TylerLeonhardt TylerLeonhardt merged commit d48438c into PowerShell:master Nov 25, 2019
@TylerLeonhardt TylerLeonhardt deleted the fix-breakpoint-deadlock branch November 25, 2019 16:38
@jrobiii
Copy link

jrobiii commented Dec 18, 2019

THANK YOU SO MUCH!

This was a real pain to remember to press before typing in the console after each press of F5.

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.

3 participants