mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-03 09:35:39 -05:00
Adding more features to restore operation (#420)
* Adding more features to restore operations and added tests
This commit is contained in:
@@ -190,8 +190,11 @@ namespace Microsoft.SqlTools.ServiceLayer.TaskServices
|
||||
WaitHandle.WaitAny(waitHandles);
|
||||
try
|
||||
{
|
||||
await this.TaskToCancel(this);
|
||||
result.TaskStatus = SqlTaskStatus.Canceled;
|
||||
if (token.IsCancellationRequested)
|
||||
{
|
||||
await this.TaskToCancel(this);
|
||||
result.TaskStatus = SqlTaskStatus.Canceled;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user