From f40940b957b96f9edf7e651e38f6a953cbba5202 Mon Sep 17 00:00:00 2001 From: daniel-c-harvey Date: Wed, 10 Jun 2026 11:08:54 -0400 Subject: [PATCH] fix: guard SeekBeyondBuffer OCE catch with when(seekCts.IsCancellationRequested) so timeout OCEs fall through to error handler --- DeepDrftPublic.Client/Services/StreamingAudioPlayerService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeepDrftPublic.Client/Services/StreamingAudioPlayerService.cs b/DeepDrftPublic.Client/Services/StreamingAudioPlayerService.cs index cc15e25..44eeb25 100644 --- a/DeepDrftPublic.Client/Services/StreamingAudioPlayerService.cs +++ b/DeepDrftPublic.Client/Services/StreamingAudioPlayerService.cs @@ -479,7 +479,7 @@ public class StreamingAudioPlayerService : AudioPlayerService, IStreamingPlayerS IsSeekingBeyondBuffer = false; } - catch (OperationCanceledException) + catch (OperationCanceledException) when (seekCts.IsCancellationRequested) { // Another seek or stop interrupted this one. Only clear the flag if we are // still the active seek — if _streamingCancellation has been replaced, a