Skip to content

Commit

Permalink
Fix multiple cpptools processes running with a multiroot workspace. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-mcmanus authored Jul 11, 2024
1 parent 36dd0b8 commit 0f7faae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension/src/LanguageServer/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ export class DefaultClient implements Client {

try {
let isFirstClient: boolean = false;
if (!languageClient || languageClientCrashedNeedsRestart) {
if (firstClientStarted === undefined || languageClientCrashedNeedsRestart) {
if (languageClientCrashedNeedsRestart) {
languageClientCrashedNeedsRestart = false;
// if we're recovering, the isStarted needs to be reset.
Expand Down

0 comments on commit 0f7faae

Please sign in to comment.