Skip to content
Snippets Groups Projects
Commit fec0c2cd authored by Vijay Pai's avatar Vijay Pai
Browse files

Merge pull request #1375 from ctiller/qps_client

Fix a race in QPS client shutdown
parents a3c42cdc 77e0d64b
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,7 @@ class SynchronousStreamingClient GRPC_FINAL : public SynchronousClient {
StartThreads(num_threads_);
}
~SynchronousStreamingClient() {
EndThreads();
if (stream_) {
SimpleResponse response;
stream_->WritesDone();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment