TD-2072
This commit is contained in:
parent
9d65e0e505
commit
f6ee376fb6
|
@ -125,7 +125,7 @@ static void *tsdbLoopCommit(void *arg) {
|
|||
while (true) {
|
||||
pNode = tdListPopHead(pQueue->queue);
|
||||
if (pNode == NULL) {
|
||||
if (pQueue->stop && pQueue->refCount == 0) {
|
||||
if (pQueue->stop && pQueue->refCount <= 0) {
|
||||
pthread_mutex_unlock(&(pQueue->lock));
|
||||
goto _exit;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue