aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface/lame_client.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-09-16 12:11:11 -0700
committerGravatar GitHub <noreply@github.com>2016-09-16 12:11:11 -0700
commitee43d7bbb11a36c91c6f1ebff6bf3da70b7546b2 (patch)
tree46e7b607b14425dc575520f089f4e9373322f250 /src/core/lib/surface/lame_client.c
parentd72df881d62a89c7bb55424740cea8dbb58c99f3 (diff)
parent57726ca5a9c08ba17c882a798b93e03d333edd9f (diff)
Merge pull request #8069 from grpc/revert-8068-revert-7279-grand-unified-closures
Revert "Revert "Grand unified closures""
Diffstat (limited to 'src/core/lib/surface/lame_client.c')
-rw-r--r--src/core/lib/surface/lame_client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/lib/surface/lame_client.c b/src/core/lib/surface/lame_client.c
index 19b78369dd..d32c884e8e 100644
--- a/src/core/lib/surface/lame_client.c
+++ b/src/core/lib/surface/lame_client.c
@@ -97,14 +97,14 @@ static void lame_start_transport_op(grpc_exec_ctx *exec_ctx,
grpc_exec_ctx_sched(exec_ctx, op->on_connectivity_state_change,
GRPC_ERROR_NONE, NULL);
}
- if (op->on_consumed != NULL) {
- grpc_exec_ctx_sched(exec_ctx, op->on_consumed, GRPC_ERROR_NONE, NULL);
- }
if (op->send_ping != NULL) {
grpc_exec_ctx_sched(exec_ctx, op->send_ping,
GRPC_ERROR_CREATE("lame client channel"), NULL);
}
GRPC_ERROR_UNREF(op->disconnect_with_error);
+ if (op->on_consumed != NULL) {
+ grpc_exec_ctx_sched(exec_ctx, op->on_consumed, GRPC_ERROR_NONE, NULL);
+ }
}
static grpc_error *init_call_elem(grpc_exec_ctx *exec_ctx,