Fix and disable new dotnet6 warnings

This commit is contained in:
Cody Robibero
2021-11-08 12:39:02 -07:00
parent 40045d2147
commit 64652b6392
13 changed files with 22 additions and 29 deletions

View File

@@ -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)