Catch cancellation exception

This commit is contained in:
Timothy Baldridge 2020-06-08 14:42:59 -06:00
parent 2d85e96214
commit 54c422b204

View File

@ -45,7 +45,14 @@ namespace Wabbajack.Server.Services
}
var token = await _quickSync.GetToken<TP>();
await Task.Delay(_delay, token);
try
{
await Task.Delay(_delay, token);
}
catch (TaskCanceledException)
{
}
}
});
}