Merge pull request #10029 from taosdata/feature/trans

refactor rpc
This commit is contained in:
Shengliang Guan 2022-01-26 14:09:32 +08:00 committed by GitHub
commit a88c230720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -546,10 +546,6 @@ static void destroyConn(SSrvConn* conn, bool clear) {
if (conn == NULL) {
return;
}
// SRpcMsg* pMsg = &conn->sendMsg;
// transFreeMsg(pMsg->pCont);
// pMsg->pCont = NULL;
tDebug("conn %p try to destroy", conn);
if (--conn->ref > 0) {
return;