mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-22 01:25:44 -05:00
Stopping sessions when handling stop requests (#627)
* Dropping profiler session on stop request * Changes to IXEventSession to simplify dropping sessions * Stop sessions instead of dropping, disable flaky tests
This commit is contained in:
committed by
GitHub
parent
b41c19bd25
commit
35b19320d4
@@ -14,6 +14,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Profiler
|
||||
{
|
||||
public Session Session { get; set; }
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
this.Session.Stop();
|
||||
}
|
||||
|
||||
public string GetTargetXml()
|
||||
{
|
||||
if (this.Session == null)
|
||||
|
||||
Reference in New Issue
Block a user