Merge pull request #25492 from grpc/vjpai-patch-3

Remove an incorrect debug assertion
pull/25501/head
Vijay Pai 4 years ago committed by GitHub
commit edfabd6a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/cpp/server/server_cc.cc

@ -811,8 +811,9 @@ class Server::SyncRequestThreadManager : public grpc::ThreadManager {
void* tag;
bool ok;
while (server_cq_->Next(&tag, &ok)) {
GPR_DEBUG_ASSERT(false);
gpr_log(GPR_ERROR, "SyncRequest seen during shutdown");
// Drain the item and don't do any work on it. It is possible to see this
// if there is an explicit call to Wait that is not part of the actual
// Shutdown.
}
}

Loading…
Cancel
Save