diff --git a/src/Polly.Core/Retry/RetryResilienceStrategy.cs b/src/Polly.Core/Retry/RetryResilienceStrategy.cs index 2ffe83ff2f..5d814084d8 100644 --- a/src/Polly.Core/Retry/RetryResilienceStrategy.cs +++ b/src/Polly.Core/Retry/RetryResilienceStrategy.cs @@ -76,7 +76,7 @@ protected internal override async ValueTask> ExecuteCore(Func TelemetryUtil.ReportExecutionAttempt(_telemetry, context, outcome, attempt, executionTime, handle); } - if (isLastAttempt || !handle) + if (context.CancellationToken.IsCancellationRequested || isLastAttempt || !handle) { return outcome; }