Reset status field in tag as well as func

reviewable/pr16646/r7
Vijay Pai 7 years ago
parent aee8271fe3
commit fc1e35444b
  1. 1
      include/grpcpp/impl/codegen/callback_common.h

@ -101,6 +101,7 @@ class CallbackWithStatusTag
CatchingCallback(std::move(func_), std::move(status_));
func_ = nullptr; // reset to clear this out for sure
status_ = Status(); // reset to clear this out for sure
g_core_codegen_interface->grpc_call_unref(call_);
}
};

Loading…
Cancel
Save