aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DynamicHlsController.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-11-08 12:39:02 -0700
committerCody Robibero <cody@robibe.ro>2021-11-08 12:40:52 -0700
commit64652b639299ecd9a692f89a7bbda3f827129fa3 (patch)
tree7d3cfe217f61c238406383e48e5cad47c4f4d95d /Jellyfin.Api/Controllers/DynamicHlsController.cs
parent40045d21470ce0eb15e5c9700d6a1449dbf7c36e (diff)
Fix and disable new dotnet6 warnings
Diffstat (limited to 'Jellyfin.Api/Controllers/DynamicHlsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DynamicHlsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/DynamicHlsController.cs b/Jellyfin.Api/Controllers/DynamicHlsController.cs
index 42e82dd5b..475b80464 100644
--- a/Jellyfin.Api/Controllers/DynamicHlsController.cs
+++ b/Jellyfin.Api/Controllers/DynamicHlsController.cs
@@ -1805,7 +1805,7 @@ namespace Jellyfin.Api.Controllers
_logger.LogError(ex, "Error deleting partial stream file(s) {path}", path);
var task = Task.Delay(100);
- Task.WaitAll(task);
+ task.Wait();
DeleteFile(path, retryCount + 1);
}
catch (Exception ex)