aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/iomgr.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-09-30 08:36:03 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-09-30 08:36:03 -0700
commit01be53d1a11c966baf1b1ce66baa60bf763bfc8b (patch)
tree1735d9189752ee699b6645a592b6a6c539e3ded0 /src/core/iomgr/iomgr.c
parent4086474399be1811731fac8bb6755de730ddbc3f (diff)
Add a facility to flush iocp at iomgr shutdown
Diffstat (limited to 'src/core/iomgr/iomgr.c')
-rw-r--r--src/core/iomgr/iomgr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/iomgr/iomgr.c b/src/core/iomgr/iomgr.c
index 0c067e5187..a10399311f 100644
--- a/src/core/iomgr/iomgr.c
+++ b/src/core/iomgr/iomgr.c
@@ -91,6 +91,8 @@ void grpc_iomgr_shutdown(void) {
gpr_timespec last_warning_time = gpr_now(GPR_CLOCK_REALTIME);
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
+ grpc_iomgr_platform_flush();
+
gpr_mu_lock(&g_mu);
g_shutdown = 1;
while (g_root_object.next != &g_root_object) {