From da81d1a43deecd815b7d2520a2425f0afd1a858d Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 28 Nov 2016 15:00:53 -0800 Subject: 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. --- src/core/lib/iomgr/iomgr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/lib/iomgr/iomgr.c') diff --git a/src/core/lib/iomgr/iomgr.c b/src/core/lib/iomgr/iomgr.c index 4fd83e0b22..3470b5ac81 100644 --- a/src/core/lib/iomgr/iomgr.c +++ b/src/core/lib/iomgr/iomgr.c @@ -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; } -- cgit v1.2.3