aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/server
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-05-27 15:59:23 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-05-27 15:59:23 -0700
commit29f79dcb089872f3dd271d37a03d357e23bd5c7e (patch)
treecc706d3b6883ab9464c8a0d5f5d66cbeedb4a5be /src/cpp/server
parente511fdbd51765b42068bea669dddd2ef85e75838 (diff)
Make C/C++ tests pass
Diffstat (limited to 'src/cpp/server')
-rw-r--r--src/cpp/server/server.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpp/server/server.cc b/src/cpp/server/server.cc
index bcd631963f..a0670a07cc 100644
--- a/src/cpp/server/server.cc
+++ b/src/cpp/server/server.cc
@@ -221,6 +221,9 @@ Server::~Server() {
Shutdown();
}
}
+ void* got_tag;
+ bool ok;
+ GPR_ASSERT(!cq_.Next(&got_tag, &ok));
grpc_server_destroy(server_);
if (thread_pool_owned_) {
delete thread_pool_;