mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Catch cancellation exception
This commit is contained in:
parent
2d85e96214
commit
54c422b204
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user