mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Fixing a handful of warnings that showed up since the upgrade to .NET Core 2 (#411)
This commit is contained in:
@@ -12,7 +12,6 @@ namespace Microsoft.SqlTools.Hosting
|
||||
{
|
||||
public abstract class ServiceHostBase : ProtocolEndpoint
|
||||
{
|
||||
private bool isStarted;
|
||||
private TaskCompletionSource<bool> serverExitedTask;
|
||||
|
||||
protected ServiceHostBase(ChannelBase serverChannel) :
|
||||
@@ -25,6 +24,7 @@ namespace Microsoft.SqlTools.Hosting
|
||||
// Register handlers for server lifetime messages
|
||||
|
||||
this.SetEventHandler(ExitNotification.Type, this.HandleExitNotification);
|
||||
this.serverExitedTask = new TaskCompletionSource<bool>();
|
||||
|
||||
return Task.FromResult(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user