提交 a44075c2 编写于 作者: wafwerar's avatar wafwerar

[TD-6169]<fix>: windows dll client can not quit.

上级 ce6141b4
...@@ -721,8 +721,6 @@ void* taosCacheTimedRefresh(void *handle) { ...@@ -721,8 +721,6 @@ void* taosCacheTimedRefresh(void *handle) {
continue; continue;
} }
pthread_mutex_unlock(&guard);
if ((count % pCacheObj->checkTick) != 0) { if ((count % pCacheObj->checkTick) != 0) {
continue; continue;
} }
...@@ -742,6 +740,8 @@ void* taosCacheTimedRefresh(void *handle) { ...@@ -742,6 +740,8 @@ void* taosCacheTimedRefresh(void *handle) {
} }
taosTrashcanEmpty(pCacheObj, false); taosTrashcanEmpty(pCacheObj, false);
pthread_mutex_unlock(&guard);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册