From bc81291f7e37c4163ed4490af5ef02e88acc7f63 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 8 Sep 2015 12:14:03 -0700 Subject: Remove check for no workers I *believe* this is actually safe, and the assert was errantly copy-pasted a while back. Fixes #3022 --- src/core/iomgr/pollset_multipoller_with_epoll.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core/iomgr') diff --git a/src/core/iomgr/pollset_multipoller_with_epoll.c b/src/core/iomgr/pollset_multipoller_with_epoll.c index fe66ebed77..8f62ce2954 100644 --- a/src/core/iomgr/pollset_multipoller_with_epoll.c +++ b/src/core/iomgr/pollset_multipoller_with_epoll.c @@ -99,7 +99,6 @@ static void perform_delayed_add(void *arg, int iomgr_status) { if (da->pollset->shutting_down) { /* We don't care about this pollset anymore. */ if (da->pollset->in_flight_cbs == 0 && !da->pollset->called_shutdown) { - GPR_ASSERT(!grpc_pollset_has_workers(da->pollset)); da->pollset->called_shutdown = 1; do_shutdown_cb = 1; } -- cgit v1.2.3