chore: more code

This commit is contained in:
kailixu 2023-04-23 14:56:06 +08:00
parent ebb1d83a3e
commit f31e2b9cb4
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ int32_t dmRunDnode(SDnode *pDnode) {
if (dmStartNodes(pDnode) != 0) {
dError("failed to start nodes since %s", terrstr());
dmSetStatus(pDnode, DND_STAT_STOPPED);
dmStopNodes(pDnode);
dmCloseNodes(pDnode);
return -1;