From ff67258287b340bcb670fb2acc594e0fac19d2cf Mon Sep 17 00:00:00 2001 From: hjxilinx Date: Thu, 16 Apr 2020 15:17:13 +0800 Subject: [PATCH] [td-98] do not sleep during shell quit --- src/client/src/tscSystem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index 0ce767926e..46f04b60c8 100644 --- a/src/client/src/tscSystem.c +++ b/src/client/src/tscSystem.c @@ -188,7 +188,6 @@ void taos_init() { pthread_once(&tscinit, taos_init_imp); } void taos_cleanup() { if (tscCacheHandle != NULL) { taosCacheCleanup(tscCacheHandle); -// tscCacheHandle = NULL; } if (tscQhandle != NULL) { @@ -212,7 +211,6 @@ void taos_cleanup() { tfree(tsGlobalConfig); } - taosMsleep(1000); taosTmrCleanUp(tscTmr); }