fix:[TD-33556] tmq close elegantly to avoid invalid read in TD-32585

This commit is contained in:
wangmm0220 2025-01-21 11:44:49 +08:00
parent 9d01175c88
commit 685d06d8aa
1 changed files with 1 additions and 0 deletions

View File

@ -1615,6 +1615,7 @@ static void tmqMgmtInit(void) {
if (taosThreadMutexInit(&tmqMgmt.lock, NULL) != 0){ if (taosThreadMutexInit(&tmqMgmt.lock, NULL) != 0){
goto END; goto END;
} }
return;
END: END:
tmqInitRes = terrno; tmqInitRes = terrno;