TD-1645
This commit is contained in:
parent
8c8f090167
commit
a8b8ecb20e
|
@ -1 +1 @@
|
||||||
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);
|
if (fd != -1) taosCloseSocket(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue