mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 17:04:12 +08:00
bugfix (?)
This commit is contained in:
parent
189691a562
commit
fcb3fd63d3
@ -9,6 +9,7 @@ TextThread::TextThread(ThreadParam tp, DWORD status) : tp(tp), status(status) {}
|
|||||||
|
|
||||||
TextThread::~TextThread()
|
TextThread::~TextThread()
|
||||||
{
|
{
|
||||||
|
LOCK(ttMutex);
|
||||||
SetEvent(deletionEvent);
|
SetEvent(deletionEvent);
|
||||||
flushThread.join();
|
flushThread.join();
|
||||||
CloseHandle(deletionEvent);
|
CloseHandle(deletionEvent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user