Skip to content

Delete checks for IsInCommandLineMode#62951

Merged
jasonmalinowski merged 1 commit intodotnet:release/dev17.4from
jasonmalinowski:fix-deadlock-due-to-command-line-check
Jul 27, 2022
Merged

Delete checks for IsInCommandLineMode#62951
jasonmalinowski merged 1 commit intodotnet:release/dev17.4from
jasonmalinowski:fix-deadlock-due-to-command-line-check

Conversation

@jasonmalinowski
Copy link
Copy Markdown
Member

It's unclear to me why these checks are necessary; devenv /build functions just fine without them. But since this code is expected to be free-threaded, it can cause deadlocks since this is marshalling behind the covers.

It's unclear to me why these checks are necessary; devenv /build
functions just fine without them. But since this code is expected
to be free-threaded, it can cause deadlocks since this is marshalling
behind the covers.
@jasonmalinowski jasonmalinowski self-assigned this Jul 26, 2022
@jasonmalinowski jasonmalinowski requested a review from a team as a code owner July 26, 2022 19:41
@ghost ghost added the Area-IDE label Jul 26, 2022
@drewnoakes
Copy link
Copy Markdown
Member

For .NET Project System projects, we'll use dotnet/project-system#8347 to prevent initializing the Language Service when running in command line mode.

@jasonmalinowski jasonmalinowski changed the base branch from main to release/dev17.4 July 27, 2022 00:04
@jasonmalinowski jasonmalinowski disabled auto-merge July 27, 2022 00:04
@jasonmalinowski jasonmalinowski merged commit b5fe552 into dotnet:release/dev17.4 Jul 27, 2022
@jasonmalinowski jasonmalinowski deleted the fix-deadlock-due-to-command-line-check branch July 27, 2022 20:20
@vatsalyaagrawal vatsalyaagrawal added this to the 17.4 milestone Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants