Replace Task.WaitAll with Task.Wait

pull/4478/head
Bond_009 4 years ago
parent ff49a3bb61
commit d4e568c8bf
No known key found for this signature in database
GPG Key ID: 63AB4E6262A96A87

@ -653,7 +653,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
try
{
_logger.LogInformation(Name + ": Waiting on Task");
var exited = Task.WaitAll(new[] { task }, 2000);
var exited = task.Wait(2000);
if (exited)
{

Loading…
Cancel
Save