mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-01 09:27:03 +08:00
Fixed Ipc unit test intermittently fail #4721
This commit is contained in:
@@ -67,6 +67,8 @@ IpcLogOutputter::~IpcLogOutputter()
|
||||
ARCH->closeMutex(m_bufferMutex);
|
||||
|
||||
if (m_bufferThread != nullptr) {
|
||||
m_bufferThread->cancel();
|
||||
m_bufferThread->wait();
|
||||
delete m_bufferThread;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user