提交 a8b8ecb2 编写于 作者: 陶建辉(Jeff)'s avatar 陶建辉(Jeff)

TD-1645

上级 8c8f0901
Subproject commit 567b7b12f3fd2775c718d284beffc8c38dd6c219
Subproject commit 8c58c512b6acda8bcdfa48fdc7140227b5221766
......@@ -196,7 +196,7 @@ static void taosStopTcpThread(SThreadObj* pThreadObj) {
}
}
if (taosCheckPthreadValid(pThreadObj->thread)) pthread_join(pThreadObj->thread, NULL);
if (taosCheckPthreadValid(pThreadObj->thread) && pThreadObj->pollFd >= 0) pthread_join(pThreadObj->thread, NULL);
if (fd != -1) taosCloseSocket(fd);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册