Skip to content

Commit

Permalink
Merge pull request #7650 from ryzngard/release
Browse files Browse the repository at this point in the history
[Cherry-Pick] Make sure named pipe awaits server start (#7645)
  • Loading branch information
dibarbet authored Oct 10, 2024
2 parents 05beba2 + 9bf916f commit a60f790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/razor/src/razorLanguageServerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class RazorLanguageServerClient implements vscode.Disposable {
}

public async connectNamedPipe(pipeName: string): Promise<void> {
await this.startHandle;
await this.start();

// Params must match https://github.com/dotnet/razor/blob/92005deac54f3e9d1a4d1d8f04389379cccfa354/src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Protocol/RazorNamedPipeConnectParams.cs#L9
await this.sendNotification('razor/namedPipeConnect', { pipeName: pipeName });
Expand Down

0 comments on commit a60f790

Please sign in to comment.