fix:[TD-30915]tmq exit elegantly
This commit is contained in:
parent
fc544705fe
commit
24b3bcaa9f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue