aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface/channel_ping.c
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2017-01-04 13:11:18 -0800
committerGravatar yang-g <yangg@google.com>2017-01-04 13:11:18 -0800
commitde3b8a8efb9dedddf8f728d60ee5a6833b6894ec (patch)
treed6a692f6f47a1aaa2372791d6925f7e35644c929 /src/core/lib/surface/channel_ping.c
parent8bd6a0542b7d3ad08497e14fce5470cb50c7bc87 (diff)
parent360f5d2abf8cb0f92aeeb3a1b201d2eb3bd13374 (diff)
Merge branch 'master' into health
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 0d2f01a649..e68febdddf 100644
--- a/src/core/lib/surface/channel_ping.c
+++ b/src/core/lib/surface/channel_ping.c
@@ -71,7 +71,7 @@ void grpc_channel_ping(grpc_channel *channel, grpc_completion_queue *cq,
GPR_ASSERT(reserved == NULL);
pr->tag = tag;
pr->cq = cq;
- grpc_closure_init(&pr->closure, ping_done, pr);
+ 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);