Build with .NET 7.0.200 + Async improvements (#1869)

This commit is contained in:
Cheena Malhotra
2023-02-17 09:54:20 -08:00
committed by GitHub
parent 675427c690
commit 86a8861e78
7 changed files with 7 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ namespace Microsoft.SqlTools.ServiceLayer
// Start the service only after all request handlers are setup. This is vital
// as otherwise the Initialize event can be lost - it's processed and discarded before the handler
// is hooked up to receive the message
serviceHost.Start().Wait();
serviceHost.Start().GetAwaiter().GetResult();
isLoaded = true;
}
}