Skip to content

Commit

Permalink
Remove check for no workers
Browse files Browse the repository at this point in the history
I *believe* this is actually safe, and the assert was errantly
copy-pasted a while back.

Fixes grpc#3022
  • Loading branch information
ctiller committed Sep 8, 2015
1 parent a4836ad commit bc81291
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/iomgr/pollset_multipoller_with_epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bc81291

Please sign in to comment.