[TD-6169]<fix>: windows dll client can not quit.
This commit is contained in:
parent
745c5a918e
commit
ea2607a738
|
@ -720,8 +720,6 @@ void* taosCacheTimedRefresh(void *handle) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
pthread_mutex_unlock(&guard);
|
|
||||||
|
|
||||||
if ((count % pCacheObj->checkTick) != 0) {
|
if ((count % pCacheObj->checkTick) != 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -741,6 +739,8 @@ void* taosCacheTimedRefresh(void *handle) {
|
||||||
}
|
}
|
||||||
|
|
||||||
taosTrashcanEmpty(pCacheObj, false);
|
taosTrashcanEmpty(pCacheObj, false);
|
||||||
|
|
||||||
|
pthread_mutex_unlock(&guard);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue