Merge pull request #1375 from ctiller/qps_client

Fix a race in QPS client shutdown
pull/1391/head
Vijay Pai 10 years ago
commit fec0c2cdda
  1. 1
      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();

Loading…
Cancel
Save