[td-98] do not sleep during shell quit

This commit is contained in:
hjxilinx 2020-04-16 15:17:13 +08:00
parent 2cb57add4a
commit ff67258287
1 changed files with 0 additions and 2 deletions

View File

@ -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);
} }