Add missing ref

This prevents a bug whereby not all fds were destroyed at application
exit.
pull/556/head
Craig Tiller 10 years ago
parent 23139ae24e
commit fc3aca2ea8
  1. 1
      src/core/iomgr/pollset_posix.c

@ -214,6 +214,7 @@ static void unary_poll_pollset_add_fd(grpc_pollset *pollset, grpc_fd *fd) {
* unary poller */
grpc_fd_unref(fds[0]);
pollset->data.ptr = fd;
grpc_fd_ref(fd);
}
}

Loading…
Cancel
Save