mirror of
https://github.com/jellyfin/jellyfin
synced 2024-07-22 02:14:28 +00:00
Replace Task.WaitAll with Task.Wait
This commit is contained in:
parent
ff49a3bb61
commit
d4e568c8bf
|
@ -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…
Reference in a new issue