chttp2 fixes

reviewable/pr20542/r1
Yash Tibrewal 5 years ago
parent 5643aa6cb3
commit 14107957aa
  1. 4
      src/core/ext/transport/chttp2/transport/chttp2_transport.cc

@ -1678,8 +1678,8 @@ static void cancel_pings(grpc_chttp2_transport* t, grpc_error* error) {
static void send_ping_locked(grpc_chttp2_transport* t,
grpc_closure* on_initiate, grpc_closure* on_ack) {
if (t->closed_with_error != GRPC_ERROR_NONE) {
t->combiner->Run(on_initiate, GRPC_ERROR_REF(t->closed_with_error));
t->combiner->Run(on_ack, GRPC_ERROR_REF(t->closed_with_error));
GRPC_CLOSURE_SCHED(on_initiate, GRPC_ERROR_REF(t->closed_with_error));
GRPC_CLOSURE_SCHED(on_ack, GRPC_ERROR_REF(t->closed_with_error));
return;
}
grpc_chttp2_ping_queue* pq = &t->ping_queue;

Loading…
Cancel
Save