that was embarassing
This commit is contained in:
parent
967f75a5ec
commit
59be83eee8
@ -27,6 +27,7 @@ void TextThread::Flush()
|
||||
std::wstring sentence;
|
||||
{
|
||||
LOCK(ttMutex);
|
||||
if (buffer.size() == 0) return;
|
||||
if (buffer.size() < maxBufferSize && GetTickCount() - timestamp < flushDelay) return;
|
||||
sentence = buffer;
|
||||
buffer.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user