提交 f7f8edc0 编写于 作者: weixin_47267244's avatar weixin_47267244

Fix

上级 df194767
......@@ -131,7 +131,7 @@ void taosCloseLog() {
taosStopLog();
//tsem_post(&(tsLogObj.logHandle->buffNotEmpty));
taosMsleep(MAX_LOG_INTERVAL/1000);
if (tsLogObj.logHandle && tsLogObj.logHandle->asyncThread && taosCheckPthreadValid(tsLogObj.logHandle->asyncThread)) {
if (tsLogObj.logHandle && taosCheckPthreadValid(tsLogObj.logHandle->asyncThread)) {
pthread_join(tsLogObj.logHandle->asyncThread, NULL);
}
// In case that other threads still use log resources causing invalid write in valgrind
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册