fix:[TD-33556] tmq close elegantly to avoid invalid read in TD-32585
This commit is contained in:
parent
685d06d8aa
commit
dd2a8ecf22
|
@ -1649,7 +1649,6 @@ void tmqMgmtClose(void) {
|
|||
tmqMgmt.rsetId = -1;
|
||||
}
|
||||
(void)taosThreadMutexUnlock(&tmqMgmt.lock);
|
||||
(void)taosThreadMutexDestroy(&tmqMgmt.lock);
|
||||
}
|
||||
|
||||
tmq_t* tmq_consumer_new(tmq_conf_t* conf, char* errstr, int32_t errstrLen) {
|
||||
|
|
Loading…
Reference in New Issue