diff options
author | 2016-11-28 15:00:53 -0800 | |
---|---|---|
committer | 2016-11-28 15:00:53 -0800 | |
commit | da81d1a43deecd815b7d2520a2425f0afd1a858d (patch) | |
tree | d5074fc50e9701f524cbf6a55aaeff6cb4fc8ef7 /src/core/lib/iomgr | |
parent | 389c595fe3886f8c2b569be727c92f74453faf76 (diff) |
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.
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r-- | src/core/lib/iomgr/iomgr.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |