aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/exec_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/iomgr/exec_ctx.c')
-rw-r--r--src/core/iomgr/exec_ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/iomgr/exec_ctx.c b/src/core/iomgr/exec_ctx.c
index fe8c48a94b..74aad6cea3 100644
--- a/src/core/iomgr/exec_ctx.c
+++ b/src/core/iomgr/exec_ctx.c
@@ -35,8 +35,8 @@
void grpc_exec_ctx_flush(grpc_exec_ctx *exec_ctx) {
while (!grpc_closure_list_empty(exec_ctx->closure_list)) {
- grpc_closure *c = closure_list->head;
- closure_list->head = closure_list->tail = NULL;
+ grpc_closure *c = exec_ctx->closure_list.head;
+ exec_ctx->closure_list.head = exec_ctx->closure_list.tail = NULL;
while (c != NULL) {
grpc_closure *next = c->next;
c->cb(exec_ctx, c->cb_arg, c->success);