diff options
| -rw-r--r-- | contrib/libs/grpc/src/core/ext/filters/client_channel/retry_filter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/grpc/src/core/ext/filters/client_channel/retry_filter.cc b/contrib/libs/grpc/src/core/ext/filters/client_channel/retry_filter.cc index c98ce6ee0b2..bc965c47312 100644 --- a/contrib/libs/grpc/src/core/ext/filters/client_channel/retry_filter.cc +++ b/contrib/libs/grpc/src/core/ext/filters/client_channel/retry_filter.cc @@ -2603,8 +2603,8 @@ void RetryFilter::CallData::OnRetryTimer() { void RetryFilter::CallData::OnRetryTimerLocked(void* arg, grpc_error_handle /*error*/) { auto* calld = static_cast<CallData*>(arg); - calld->retry_timer_handle_.reset(); - if (calld->cancelled_from_surface_.ok()) { + if (calld->retry_timer_handle_.has_value()) { + calld->retry_timer_handle_.reset(); calld->CreateCallAttempt(/*is_transparent_retry=*/false); } GRPC_CALL_STACK_UNREF(calld->owning_call_, "OnRetryTimer"); |
