Merge pull request #20128 from apolcyn/fix_manby_grpclb_channel_stress_test_crash

Remove call from queued picks when failing it due to channel destruction
reviewable/pr20035/r8^2
apolcyn 6 years ago committed by GitHub
commit f78966eb52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/ext/filters/client_channel/client_channel.cc

@ -3881,6 +3881,7 @@ void CallData::StartPickLocked(void* arg, grpc_error* error) {
GRPC_ERROR_UNREF(result.error);
GRPC_CLOSURE_SCHED(&calld->pick_closure_,
GRPC_ERROR_REF(disconnect_error));
if (calld->pick_queued_) calld->RemoveCallFromQueuedPicksLocked(elem);
break;
}
// If wait_for_ready is false, then the error indicates the RPC

Loading…
Cancel
Save