fix: guard SeekBeyondBuffer OCE catch with when(seekCts.IsCancellationRequested) so timeout OCEs fall through to error handler
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user