提交 3c6158d4 编写于 作者: A Alex Duan

fix(rpc): probe alive connection

上级 3601b77e
......@@ -1781,9 +1781,9 @@ bool saveSendInfo(int64_t rpcRid, void** ppContext, void** ppConn, void** ppFdOb
*ppContext = pContext;
if (ppConn)
*ppConn = pContext->pConn;
if (ppFdObj)
if (ppFdObj && pContext->pConn)
*ppFdObj = pContext->pConn->chandle;
if (pFd)
if (pFd && pContext->pConn && pContext->pConn->chandle)
*pFd = taosGetFdID(pContext->pConn->chandle);
taosReleaseRef(tsRpcRefId, rpcRid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册