Skip to content

Commit a60f790

Browse files
authored
Merge pull request #7650 from ryzngard/release
[Cherry-Pick] Make sure named pipe awaits server start (#7645)
2 parents 05beba2 + 9bf916f commit a60f790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/razor/src/razorLanguageServerClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export class RazorLanguageServerClient implements vscode.Disposable {
222222
}
223223

224224
public async connectNamedPipe(pipeName: string): Promise<void> {
225-
await this.startHandle;
225+
await this.start();
226226

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

0 commit comments

Comments
 (0)