refactor rpc

This commit is contained in:
yihaoDeng 2022-01-26 13:42:16 +08:00
parent cea06000bf
commit 203f845907
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;