Fixed Ipc unit test intermittently fail #4721

This commit is contained in:
Jerry (Xinyu Hou)
2015-07-21 14:10:50 -07:00
parent 1369f46cee
commit 9d44affc89
2 changed files with 12 additions and 0 deletions

View File

@@ -67,6 +67,8 @@ IpcLogOutputter::~IpcLogOutputter()
ARCH->closeMutex(m_bufferMutex);
if (m_bufferThread != nullptr) {
m_bufferThread->cancel();
m_bufferThread->wait();
delete m_bufferThread;
}