mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04: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
|
try
|
||||||
{
|
{
|
||||||
_logger.LogInformation(Name + ": Waiting on Task");
|
_logger.LogInformation(Name + ": Waiting on Task");
|
||||||
var exited = Task.WaitAll(new[] { task }, 2000);
|
var exited = task.Wait(2000);
|
||||||
|
|
||||||
if (exited)
|
if (exited)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user