diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-11-04 18:09:12 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-11-04 18:09:51 +0100 |
commit | 62a4fd3523b322b4c32bf947b483ef7aebead63a (patch) | |
tree | 379045bdd2a9e680187f05f5f84f4d8e0ca567ae /src/core | |
parent | e5bca395f9bd9e6c017db3fd318ec608b5289341 (diff) |
invalidate after wait in nonpolling poller
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/surface/completion_queue.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/surface/completion_queue.cc b/src/core/lib/surface/completion_queue.cc index 5009f786e6..836314f90a 100644 --- a/src/core/lib/surface/completion_queue.cc +++ b/src/core/lib/surface/completion_queue.cc @@ -127,6 +127,7 @@ static grpc_error *non_polling_poller_work(grpc_exec_ctx *exec_ctx, while (!npp->shutdown && !w.kicked && !gpr_cv_wait(&w.cv, &npp->mu, deadline_ts)) ; + grpc_exec_ctx_invalidate_now(exec_ctx); if (&w == npp->root) { npp->root = w.next; if (&w == npp->root) { |