From 203f84590791644aeecac789d0a87c893ab14f78 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 26 Jan 2022 13:42:16 +0800 Subject: [PATCH] refactor rpc --- source/libs/transport/src/transSrv.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/libs/transport/src/transSrv.c b/source/libs/transport/src/transSrv.c index f36d9bd493..a5ee1f1c63 100644 --- a/source/libs/transport/src/transSrv.c +++ b/source/libs/transport/src/transSrv.c @@ -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;