Skip to content
Snippets Groups Projects
Commit 249e9bf1 authored by David Garcia Quintas's avatar David Garcia Quintas
Browse files

Flush exec_ctx work within loop

parent 7d8ea789
No related branches found
No related tags found
No related merge requests found
...@@ -82,6 +82,7 @@ static void closure_exec_thread_func(void *ignored) { ...@@ -82,6 +82,7 @@ static void closure_exec_thread_func(void *ignored) {
} }
gpr_mu_unlock(&g_executor.mu); gpr_mu_unlock(&g_executor.mu);
closure->cb(&exec_ctx, closure->cb_arg, closure->success); closure->cb(&exec_ctx, closure->cb_arg, closure->success);
grpc_exec_ctx_flush(&exec_ctx);
} }
grpc_exec_ctx_finish(&exec_ctx); grpc_exec_ctx_finish(&exec_ctx);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment