提交 ff672582 编写于 作者: H hjxilinx

[td-98] do not sleep during shell quit

上级 2cb57add
...@@ -188,7 +188,6 @@ void taos_init() { pthread_once(&tscinit, taos_init_imp); } ...@@ -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() { ...@@ -212,7 +211,6 @@ void taos_cleanup() {
tfree(tsGlobalConfig); tfree(tsGlobalConfig);
} }
taosMsleep(1000);
taosTmrCleanUp(tscTmr); taosTmrCleanUp(tscTmr);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册