[td-98] do not sleep during shell quit
This commit is contained in:
parent
2cb57add4a
commit
ff67258287
|
@ -188,7 +188,6 @@ void taos_init() { pthread_once(&tscinit, taos_init_imp); }
|
||||||
void taos_cleanup() {
|
void taos_cleanup() {
|
||||||
if (tscCacheHandle != NULL) {
|
if (tscCacheHandle != NULL) {
|
||||||
taosCacheCleanup(tscCacheHandle);
|
taosCacheCleanup(tscCacheHandle);
|
||||||
// tscCacheHandle = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tscQhandle != NULL) {
|
if (tscQhandle != NULL) {
|
||||||
|
@ -212,7 +211,6 @@ void taos_cleanup() {
|
||||||
tfree(tsGlobalConfig);
|
tfree(tsGlobalConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
taosMsleep(1000);
|
|
||||||
taosTmrCleanUp(tscTmr);
|
taosTmrCleanUp(tscTmr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue