diff options
author | ncteisen <ncteisen@gmail.com> | 2017-06-08 15:57:09 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-06-08 17:50:01 -0700 |
commit | f0c46e360b3e740aea254b5adc0c9dfeae31243a (patch) | |
tree | 82d6576caeb7db25f6bd4f825bb4f5054521994b /src/core/lib/iomgr/combiner.c | |
parent | a4bc791fd806896f8cae5cbe377acd56f9c01d31 (diff) |
Rework error and closure tracing
Diffstat (limited to 'src/core/lib/iomgr/combiner.c')
-rw-r--r-- | src/core/lib/iomgr/combiner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/combiner.c b/src/core/lib/iomgr/combiner.c index 750ff102ff..d1377a942a 100644 --- a/src/core/lib/iomgr/combiner.c +++ b/src/core/lib/iomgr/combiner.c @@ -247,7 +247,7 @@ bool grpc_combiner_continue_exec_ctx(grpc_exec_ctx *exec_ctx) { GPR_TIMER_BEGIN("combiner.exec1", 0); grpc_closure *cl = (grpc_closure *)n; grpc_error *cl_err = cl->error_data.error; -#ifdef GRPC_CLOSURE_RICH_DEBUG +#ifndef NDEBUG cl->scheduled = false; #endif cl->cb(exec_ctx, cl->cb_arg, cl_err); @@ -264,7 +264,7 @@ bool grpc_combiner_continue_exec_ctx(grpc_exec_ctx *exec_ctx) { gpr_log(GPR_DEBUG, "C:%p execute_final[%d] c=%p", lock, loops, c)); grpc_closure *next = c->next_data.next; grpc_error *error = c->error_data.error; -#ifdef GRPC_CLOSURE_RICH_DEBUG +#ifndef NDEBUG c->scheduled = false; #endif c->cb(exec_ctx, c->cb_arg, error); |