[promises] Fix another edge case in promise based filter (#32313)

pull/32316/head
Craig Tiller 2 years ago committed by GitHub
parent ff8c89f313
commit c6d9a16a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/core/lib/channel/promise_based_filter.cc

@ -729,9 +729,11 @@ void BaseCallData::ReceiveMessage::Done(const ServerMetadata& metadata,
state_ = State::kCancelledWhilstIdle; state_ = State::kCancelledWhilstIdle;
break; break;
case State::kForwardedBatch: case State::kForwardedBatch:
case State::kForwardedBatchNoPipe:
state_ = State::kCancelledWhilstForwarding; state_ = State::kCancelledWhilstForwarding;
break; break;
case State::kForwardedBatchNoPipe:
state_ = State::kCancelledWhilstForwardingNoPipe;
break;
case State::kCompletedWhileBatchCompleted: case State::kCompletedWhileBatchCompleted:
case State::kBatchCompleted: case State::kBatchCompleted:
state_ = State::kCompletedWhileBatchCompleted; state_ = State::kCompletedWhileBatchCompleted;

Loading…
Cancel
Save