Skip to content

Commit

Permalink
update(grpc): v1.66.0.bcr.2
Browse files Browse the repository at this point in the history
  • Loading branch information
grencez committed Sep 16, 2024
1 parent df3c4ba commit dd4db6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ module(
version = "0.0.0",
)

bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_license", version = "0.0.8")
bazel_dep(name = "rules_cc", version = "0.0.10")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_proto", version = "6.0.2")
bazel_dep(
name = "abseil-cpp",
version = "20240116.2",
version = "20240722.0",
repo_name = "com_google_absl",
)
bazel_dep(
name = "grpc",
version = "1.63.1",
version = "1.66.0.bcr.2",
repo_name = "com_github_grpc_grpc",
)

Expand Down
6 changes: 4 additions & 2 deletions src/ccgrpc/asyncserver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ class ServerImpl final {
void* tag;
bool ok;
while (true) {
GPR_ASSERT(cq_->Next(&tag, &ok));
GPR_ASSERT(ok);
if (!cq_->Next(&tag, &ok) || !ok) {
std::cerr << "No more RPCs to handle?\n";
break;
}
auto& e = *static_cast<std::unique_ptr<TrySwapState>*>(tag);
if (e->processed) {
e.reset(nullptr);
Expand Down

0 comments on commit dd4db6a

Please sign in to comment.