From 249e9bf1164104e543d22c60dcb193d7930bd22e Mon Sep 17 00:00:00 2001 From: David Garcia Quintas <dgq@google.com> Date: Mon, 12 Oct 2015 21:17:47 -0700 Subject: [PATCH] Flush exec_ctx work within loop --- src/core/iomgr/executor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/iomgr/executor.c b/src/core/iomgr/executor.c index d80192e5c0..94e5114dd5 100644 --- a/src/core/iomgr/executor.c +++ b/src/core/iomgr/executor.c @@ -82,6 +82,7 @@ static void closure_exec_thread_func(void *ignored) { } gpr_mu_unlock(&g_executor.mu); closure->cb(&exec_ctx, closure->cb_arg, closure->success); + grpc_exec_ctx_flush(&exec_ctx); } grpc_exec_ctx_finish(&exec_ctx); } -- GitLab