reset the shared_ptr

pull/5099/head
Vijay Pai 9 years ago
parent 4d9d4abc49
commit c593ca0171
  1. 2
      include/grpc++/impl/codegen/call.h

@ -544,7 +544,7 @@ class CallOpSet : public CallOpSetInterface,
this->Op5::FinishOp(status, max_message_size_); this->Op5::FinishOp(status, max_message_size_);
this->Op6::FinishOp(status, max_message_size_); this->Op6::FinishOp(status, max_message_size_);
*tag = return_tag_; *tag = return_tag_;
SetCollection(nullptr); // drop the ref at this point collection_.reset(); // drop the ref at this point
return true; return true;
} }

Loading…
Cancel
Save