bugfix (?)

This commit is contained in:
Akash Mozumdar 2018-08-28 17:28:26 -04:00
parent 189691a562
commit fcb3fd63d3

View File

@ -9,6 +9,7 @@ TextThread::TextThread(ThreadParam tp, DWORD status) : tp(tp), status(status) {}
TextThread::~TextThread()
{
LOCK(ttMutex);
SetEvent(deletionEvent);
flushThread.join();
CloseHandle(deletionEvent);