aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface/channel_ping.c
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2017-07-31 07:37:31 -0700
committerGravatar GitHub <noreply@github.com>2017-07-31 07:37:31 -0700
commitf787594e688cb59fe207bb3199b9cb4cfa0c87ca (patch)
tree34bef80126ff38ebf98307f1c866e3b9e72d95b2 /src/core/lib/surface/channel_ping.c
parent025ca9e4b24befd239f7b043846eb0bb177b6ead (diff)
parent097cbfc94fc96f079d7be8d0dcbcb9b282484bbd (diff)
Merge pull request #11703 from yang-g/cq_shutdown
Allow adding events to cq after shutdown is called.
Diffstat (limited to 'src/core/lib/surface/channel_ping.c')
-rw-r--r--src/core/lib/surface/channel_ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/surface/channel_ping.c b/src/core/lib/surface/channel_ping.c
index 80eb80af78..e85b308850 100644
--- a/src/core/lib/surface/channel_ping.c
+++ b/src/core/lib/surface/channel_ping.c
@@ -59,7 +59,7 @@ void grpc_channel_ping(grpc_channel *channel, grpc_completion_queue *cq,
GRPC_CLOSURE_INIT(&pr->closure, ping_done, pr, grpc_schedule_on_exec_ctx);
op->send_ping = &pr->closure;
op->bind_pollset = grpc_cq_pollset(cq);
- grpc_cq_begin_op(cq, tag);
+ GPR_ASSERT(grpc_cq_begin_op(cq, tag));
top_elem->filter->start_transport_op(&exec_ctx, top_elem, op);
grpc_exec_ctx_finish(&exec_ctx);
}