aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-11-28 16:10:57 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-11-28 16:10:57 -0800
commitd449003fe626cdddbcf87f45706ecbb9126d93a5 (patch)
tree69471e69c7a9e045ef10b90fea6c5efaf5840d12 /test
parent34e6ce6349f25e27d5b62caa1416ace2aa445947 (diff)
Shutdown grpc for fullstack benchmark
Diffstat (limited to 'test')
-rw-r--r--test/cpp/microbenchmarks/bm_fullstack.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack.cc b/test/cpp/microbenchmarks/bm_fullstack.cc
index 2b6dd3219c..bc6038d3ec 100644
--- a/test/cpp/microbenchmarks/bm_fullstack.cc
+++ b/test/cpp/microbenchmarks/bm_fullstack.cc
@@ -71,6 +71,10 @@ static class InitializeStuff {
rq_ = grpc_resource_quota_create("bm");
}
+ ~InitializeStuff() {
+ init_lib_.shutdown();
+ }
+
grpc_resource_quota* rq() { return rq_; }
private: