whoops
This commit is contained in:
parent
effe03fd96
commit
68bafcdda7
@ -48,8 +48,7 @@ void TextThread::AddText(const BYTE* data, int len)
|
||||
flusher = std::thread([&]
|
||||
{
|
||||
ResetEvent(cancelFlushEvent);
|
||||
WaitForSingleObject(cancelFlushEvent, FlushDelay);
|
||||
Flush();
|
||||
if (WaitForSingleObject(cancelFlushEvent, FlushDelay) == WAIT_TIMEOUT) Flush();
|
||||
});
|
||||
LOCK(ttMutex);
|
||||
buffer += status & USING_UNICODE
|
||||
|
Loading…
Reference in New Issue
Block a user