diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-11-08 12:39:02 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-11-08 12:40:52 -0700 |
| commit | 64652b639299ecd9a692f89a7bbda3f827129fa3 (patch) | |
| tree | 7d3cfe217f61c238406383e48e5cad47c4f4d95d /Jellyfin.Api/Helpers/TranscodingJobHelper.cs | |
| parent | 40045d21470ce0eb15e5c9700d6a1449dbf7c36e (diff) | |
Fix and disable new dotnet6 warnings
Diffstat (limited to 'Jellyfin.Api/Helpers/TranscodingJobHelper.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/TranscodingJobHelper.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Api/Helpers/TranscodingJobHelper.cs b/Jellyfin.Api/Helpers/TranscodingJobHelper.cs index 07d0b5543..f435bbf00 100644 --- a/Jellyfin.Api/Helpers/TranscodingJobHelper.cs +++ b/Jellyfin.Api/Helpers/TranscodingJobHelper.cs @@ -283,6 +283,7 @@ namespace Jellyfin.Api.Helpers lock (job.ProcessLock!) { + #pragma warning disable CA1849 // Can't await in lock block job.TranscodingThrottler?.Stop().GetAwaiter().GetResult(); var process = job.Process; @@ -308,6 +309,7 @@ namespace Jellyfin.Api.Helpers { } } + #pragma warning restore CA1849 } if (delete(job.Path!)) |
