aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/combiner.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-04-30 14:52:31 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-05-01 17:01:34 -0700
commit2629f466dd074f14041fe8e65707f18836ae0546 (patch)
treef542a742edca5bf5f4163ef32c5da99dfedb1d96 /src/core/lib/iomgr/combiner.cc
parent730b7de15874732d8c7c0eb081b29d43c805f81a (diff)
Remove illegal GRPC_CLOSURE_RUNs
Diffstat (limited to 'src/core/lib/iomgr/combiner.cc')
-rw-r--r--src/core/lib/iomgr/combiner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/combiner.cc b/src/core/lib/iomgr/combiner.cc
index 60785b6b43..6789e4d12d 100644
--- a/src/core/lib/iomgr/combiner.cc
+++ b/src/core/lib/iomgr/combiner.cc
@@ -345,17 +345,17 @@ static void combiner_finally_exec(grpc_closure* closure, grpc_error* error) {
}
static void combiner_run(grpc_closure* closure, grpc_error* error) {
-#ifndef NDEBUG
grpc_combiner* lock = COMBINER_FROM_CLOSURE_SCHEDULER(closure, scheduler);
+#ifndef NDEBUG
closure->scheduled = false;
GRPC_COMBINER_TRACE(gpr_log(
GPR_DEBUG,
"Combiner:%p grpc_combiner_run closure:%p created [%s:%d] run [%s:%d]",
lock, closure, closure->file_created, closure->line_created,
closure->file_initiated, closure->line_initiated));
+#endif
GPR_ASSERT(grpc_core::ExecCtx::Get()->combiner_data()->active_combiner ==
lock);
-#endif
closure->cb(closure->cb_arg, error);
GRPC_ERROR_UNREF(error);
}