Flush exec_ctx work within loop

pull/3726/head
David Garcia Quintas 9 years ago
parent 7d8ea78980
commit 249e9bf116
  1. 1
      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);
}

Loading…
Cancel
Save