fix:[TD-33556] tmq close elegantly to avoid invalid read in TD-32585
This commit is contained in:
parent
9d01175c88
commit
685d06d8aa
|
@ -1615,6 +1615,7 @@ static void tmqMgmtInit(void) {
|
|||
if (taosThreadMutexInit(&tmqMgmt.lock, NULL) != 0){
|
||||
goto END;
|
||||
}
|
||||
return;
|
||||
|
||||
END:
|
||||
tmqInitRes = terrno;
|
||||
|
|
Loading…
Reference in New Issue