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

This commit is contained in:
afwerar 2021-08-23 18:28:30 +08:00
parent ce6141b4af
commit a44075c2f1
1 changed files with 2 additions and 2 deletions

View File

@ -721,8 +721,6 @@ void* taosCacheTimedRefresh(void *handle) {
continue;
}
pthread_mutex_unlock(&guard);
if ((count % pCacheObj->checkTick) != 0) {
continue;
}
@ -742,6 +740,8 @@ void* taosCacheTimedRefresh(void *handle) {
}
taosTrashcanEmpty(pCacheObj, false);
pthread_mutex_unlock(&guard);
}
}