fix:[TD-30915]tmq exit elegantly

This commit is contained in:
wangmm0220 2024-07-08 09:17:25 +08:00
parent fc544705fe
commit 24b3bcaa9f
1 changed files with 4 additions and 3 deletions

View File

@ -83,12 +83,13 @@ void taos_cleanup(void) {
taosConvDestroy(); taosConvDestroy();
tscInfo("all local resources released");
taosCleanupCfg();
taosCloseLog();
tmqMgmtClose(); tmqMgmtClose();
taosHashCleanup(appInfo.pInstMap); taosHashCleanup(appInfo.pInstMap);
taosHashCleanup(appInfo.pInstMapByClusterId); taosHashCleanup(appInfo.pInstMapByClusterId);
tscInfo("all local resources released");
taosCleanupCfg();
taosCloseLog();
} }
static setConfRet taos_set_config_imp(const char *config) { static setConfRet taos_set_config_imp(const char *config) {