diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-05-14 07:42:50 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-05-14 07:42:50 +0200 |
| commit | 1751c5b45d7022f662b04b565c4f70a7ce2329d1 (patch) | |
| tree | 9464679adce704fd4401cc36ad3131c0e6474265 /Jellyfin.Server.Implementations | |
| parent | e811cd7caf434acd84645af8bd05248b54c65c39 (diff) | |
Fixup
Diffstat (limited to 'Jellyfin.Server.Implementations')
| -rw-r--r-- | Jellyfin.Server.Implementations/MediaSegments/MediaSegmentManager.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Jellyfin.Server.Implementations/MediaSegments/MediaSegmentManager.cs b/Jellyfin.Server.Implementations/MediaSegments/MediaSegmentManager.cs index 61c028b685..be98f93dab 100644 --- a/Jellyfin.Server.Implementations/MediaSegments/MediaSegmentManager.cs +++ b/Jellyfin.Server.Implementations/MediaSegments/MediaSegmentManager.cs @@ -81,10 +81,7 @@ public class MediaSegmentManager : IMediaSegmentManager foreach (var provider in providers) { - if (cancellationToken.IsCancellationRequested) - { - break; - } + cancellationToken.ThrowIfCancellationRequested(); if (!await provider.Supports(baseItem).ConfigureAwait(false)) { |
