mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -05:00
fixed connection service tests
This commit is contained in:
@@ -358,6 +358,8 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ServiceHost != null)
|
||||||
|
{
|
||||||
// Send a telemetry notification for intellisense performance metrics
|
// Send a telemetry notification for intellisense performance metrics
|
||||||
ServiceHost.SendEvent(TelemetryNotification.Type, new TelemetryParams()
|
ServiceHost.SendEvent(TelemetryNotification.Type, new TelemetryParams()
|
||||||
{
|
{
|
||||||
@@ -371,7 +373,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
|
|||||||
Measures = info.IntellisenseMetrics.Quantile
|
Measures = info.IntellisenseMetrics.Quantile
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Close the connection
|
// Close the connection
|
||||||
info.SqlConnection.Close();
|
info.SqlConnection.Close();
|
||||||
|
|||||||
Reference in New Issue
Block a user