fix: fix sched handler memory leak issue
This commit is contained in:
parent
9cd7c54e25
commit
d5072a8f32
|
@ -68,6 +68,7 @@ void indexInit() {
|
|||
void indexCleanup() {
|
||||
// refacto later
|
||||
taosCleanUpScheduler(indexQhandle);
|
||||
taosMemoryFreeClear(indexQhandle);
|
||||
taosCloseRef(indexRefMgt);
|
||||
}
|
||||
|
||||
|
|
|
@ -606,6 +606,7 @@ void taosTmrCleanUp(void* handle) {
|
|||
taosUninitTimer();
|
||||
|
||||
taosCleanUpScheduler(tmrQhandle);
|
||||
taosMemoryFreeClear(tmrQhandle);
|
||||
|
||||
for (int32_t i = 0; i < tListLen(wheels); i++) {
|
||||
time_wheel_t* wheel = wheels + i;
|
||||
|
|
Loading…
Reference in New Issue