fix: fix windows quit issue
This commit is contained in:
parent
341c91fd7d
commit
3a934d09e3
|
@ -1284,7 +1284,9 @@ void catalogDestroy(void) {
|
|||
|
||||
atomic_store_8((int8_t*)&gCtgMgmt.exit, true);
|
||||
|
||||
ctgClearCacheEnqueue(NULL, true, true, true);
|
||||
if (!taosCheckCurrentInDll()) {
|
||||
ctgClearCacheEnqueue(NULL, true, true, true);
|
||||
}
|
||||
|
||||
taosHashCleanup(gCtgMgmt.pCluster);
|
||||
gCtgMgmt.pCluster = NULL;
|
||||
|
|
Loading…
Reference in New Issue