fix: guard SeekBeyondBuffer OCE catch with when(seekCts.IsCancellationRequested) so timeout OCEs fall through to error handler

This commit is contained in:
daniel-c-harvey
2026-06-10 11:08:54 -04:00
parent 6fe7663667
commit f40940b957
@@ -479,7 +479,7 @@ public class StreamingAudioPlayerService : AudioPlayerService, IStreamingPlayerS
IsSeekingBeyondBuffer = false; IsSeekingBeyondBuffer = false;
} }
catch (OperationCanceledException) catch (OperationCanceledException) when (seekCts.IsCancellationRequested)
{ {
// Another seek or stop interrupted this one. Only clear the flag if we are // Another seek or stop interrupted this one. Only clear the flag if we are
// still the active seek — if _streamingCancellation has been replaced, a // still the active seek — if _streamingCancellation has been replaced, a