| 1092 | } |
| 1093 | |
| 1094 | void OnEndOfMessage(const butil::Status& st) { |
| 1095 | brpc::ClosureGuard done_guard(_done); |
| 1096 | CHECK_EQ(-1, st.error_code()); |
| 1097 | _cntl->SetFailed("Must Failed"); |
| 1098 | LOG(INFO) << "Destroy " << this << ": " << st; |
| 1099 | delete this; |
| 1100 | } |
| 1101 | private: |
| 1102 | brpc::Controller* _cntl; |
| 1103 | google::protobuf::Closure* _done; |
nothing calls this directly
no test coverage detected