aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-04-28 07:55:54 -0700
committerGravatar Vijay Pai <vpai@google.com>2015-04-28 07:55:54 -0700
commitfec0c2cdda1a95d70509df90220322626644a53e (patch)
tree1a280ec44a3c4d37cbf6dbe16502423dd3deae73 /test/cpp/qps
parenta3c42cdcaf8b89944afc146363e400bc04336f05 (diff)
parent77e0d64b4d45f6262f41aba59ca34928841a9975 (diff)
Merge pull request #1375 from ctiller/qps_client
Fix a race in QPS client shutdown
Diffstat (limited to 'test/cpp/qps')
-rw-r--r--test/cpp/qps/client_sync.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/qps/client_sync.cc b/test/cpp/qps/client_sync.cc
index aea5a0fb27..5dd64d0b13 100644
--- a/test/cpp/qps/client_sync.cc
+++ b/test/cpp/qps/client_sync.cc
@@ -105,6 +105,7 @@ class SynchronousStreamingClient GRPC_FINAL : public SynchronousClient {
StartThreads(num_threads_);
}
~SynchronousStreamingClient() {
+ EndThreads();
if (stream_) {
SimpleResponse response;
stream_->WritesDone();