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