From d449003fe626cdddbcf87f45706ecbb9126d93a5 Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Mon, 28 Nov 2016 16:10:57 -0800 Subject: Shutdown grpc for fullstack benchmark --- test/cpp/microbenchmarks/bm_fullstack.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') 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: -- cgit v1.2.3