commit | 3c1331f920569ba3a182e13321db26796d6e920e | [log] [tgz] |
---|---|---|
author | Craig Tiller <ctiller@google.com> | Mon Jun 01 13:17:15 2015 -0700 |
committer | Craig Tiller <ctiller@google.com> | Mon Jun 01 13:17:15 2015 -0700 |
tree | 92bd46788af11d3b2541c11e038ff6ceacea2c37 | |
parent | 06bac34df01bc2b06e3808a87f80d591c491fc5f [diff] |
Signal when shutting down
diff --git a/src/core/iomgr/iomgr.c b/src/core/iomgr/iomgr.c index 9bbff41..ec31de2 100644 --- a/src/core/iomgr/iomgr.c +++ b/src/core/iomgr/iomgr.c
@@ -186,6 +186,9 @@ g_cbs_tail->next = dcb; g_cbs_tail = dcb; } + if (g_shutdown) { + gpr_cv_signal(&g_rcv); + } gpr_mu_unlock(&g_mu); }