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