fix crash while run CI

This commit is contained in:
Shengliang Guan 2021-12-29 17:56:39 -08:00
parent 37b6ea6233
commit dd4af3274d
1 changed files with 1 additions and 0 deletions

View File

@ -383,6 +383,7 @@ void dndCleanupTrans(SDnode *pDnode) {
void dndSendMsgToDnode(SDnode *pDnode, SEpSet *pEpSet, SRpcMsg *pMsg) {
STransMgmt *pMgmt = &pDnode->tmgmt;
if (pMgmt->clientRpc == NULL) return;
rpcSendRequest(pMgmt->clientRpc, pEpSet, pMsg, NULL);
}