Add a grpc_exec_ctx_invalidate_now at the end of cq_next loop

pull/13234/head
Yash Tibrewal 7 years ago
parent 66b740a8c6
commit dc84ed63d7
  1. 1
      src/core/lib/surface/completion_queue.cc

@ -972,6 +972,7 @@ static grpc_event cq_next(grpc_completion_queue *cq, gpr_timespec deadline,
break;
}
is_finished_arg.first_loop = false;
grpc_exec_ctx_invalidate_now(&exec_ctx);
}
if (cq_event_queue_num_items(&cqd->queue) > 0 &&

Loading…
Cancel
Save