[TD-6169]<fix>: windows dll client can not quit.
This commit is contained in:
parent
ce6141b4af
commit
a44075c2f1
|
@ -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) {
|
||||||
}
|
}
|
||||||
|
|
||||||
taosTrashcanEmpty(pCacheObj, false);
|
taosTrashcanEmpty(pCacheObj, false);
|
||||||
|
|
||||||
|
pthread_mutex_unlock(&guard);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue