add comments

This commit is contained in:
Jeff Tao 2020-06-18 10:07:06 +00:00
parent a615527835
commit ff16a84d59
1 changed files with 1 additions and 0 deletions

View File

@ -577,6 +577,7 @@ static void rpcReleaseConn(SRpcConn *pConn) {
rpcFreeMsg(pConn->pRspMsg); // it may have a response msg saved, but not request msg
}
// lockedBy can not be reset, since it maybe hold by a thread
int sid = pConn->sid;
int64_t lockedBy = pConn->lockedBy;
memset(pConn, 0, sizeof(SRpcConn));