提交 f6ee376f 编写于 作者: S Shengliang Guan

TD-2072

上级 9d65e0e5
...@@ -125,7 +125,7 @@ static void *tsdbLoopCommit(void *arg) { ...@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册