unlock before return

pull/4683/head
yang-g 9 years ago
parent 1949efd542
commit 2623014c60
  1. 1
      src/core/iomgr/pollset_multipoller_with_epoll.c

@ -93,6 +93,7 @@ void grpc_remove_fd_from_all_epoll_sets(int fd) {
gpr_once_init(&init_epoll_fd_list_mu, init_mu);
gpr_mu_lock(&epoll_fd_list_mu);
if (epoll_fd_global_list.count == 0) {
gpr_mu_unlock(&epoll_fd_list_mu);
return;
}
for (size_t i = 0; i < epoll_fd_global_list.count; i++) {

Loading…
Cancel
Save