Skip to content
Snippets Groups Projects
Commit da81d1a4 authored by Craig Tiller's avatar Craig Tiller
Browse files

Flush platform stuff after timer events

It can happen that a timer event causes something to be queued to an
IOCP, which means that on Windows we need to flush that queue each time
a timer event fires during shutdown.
parent 389c595f
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ void grpc_iomgr_shutdown(void) {
NULL)) {
gpr_mu_unlock(&g_mu);
grpc_exec_ctx_flush(&exec_ctx);
grpc_iomgr_platform_flush();
gpr_mu_lock(&g_mu);
continue;
}
......
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