Merge pull request #16166 from yashykt/dontabortonerr

Don't abort on notify_on_error for poll. Instead simply schedule clos…
pull/16171/head
Yash Tibrewal 7 years ago committed by GitHub
commit fef37e8163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/core/lib/iomgr/ev_poll_posix.cc

@ -532,8 +532,10 @@ static void fd_notify_on_write(grpc_fd* fd, grpc_closure* closure) {
}
static void fd_notify_on_error(grpc_fd* fd, grpc_closure* closure) {
gpr_log(GPR_ERROR, "Polling engine does not support tracking errors.");
abort();
if (grpc_polling_trace.enabled()) {
gpr_log(GPR_ERROR, "Polling engine does not support tracking errors.");
}
GRPC_CLOSURE_SCHED(closure, GRPC_ERROR_CANCELLED);
}
static uint32_t fd_begin_poll(grpc_fd* fd, grpc_pollset* pollset,

Loading…
Cancel
Save