Merge branch 'bye-bye-completion-queue-pie' into we-dont-need-no-backup

pull/1888/head
Craig Tiller 10 years ago
commit 0dc78ab3cf
  1. 1
      src/ruby/ext/grpc/rb_completion_queue.c

@ -96,6 +96,7 @@ static void grpc_rb_completion_queue_shutdown_drain(grpc_completion_queue *cq) {
rb_thread_call_without_gvl(grpc_rb_completion_queue_next_no_gil,
(void *)&next_call, NULL, NULL);
type = next_call.event.type;
if (type == GRPC_QUEUE_TIMEOUT) break;
if (type != GRPC_QUEUE_SHUTDOWN) {
++drained;
rb_warning("completion queue shutdown: %d undrained events", drained);

Loading…
Cancel
Save