1
0
Fork 0

DBG: speed up with waiting for threads to close

This commit is contained in:
mrexodia 2016-07-12 07:47:25 +02:00
parent 305235a45f
commit 0c8d69e493
No known key found for this signature in database
GPG Key ID: D72F9A4FAA0073B4
1 changed files with 2 additions and 2 deletions

View File

@ -185,10 +185,10 @@ void dbginit()
void dbgstop()
{
bStopTimeWastedCounterThread = true;
WaitForThreadTermination(hTimeWastedCounterThread);
bStopMemMapThread = true;
WaitForThreadTermination(hMemMapThread);
bStopDumpRefreshThread = true;
WaitForThreadTermination(hTimeWastedCounterThread);
WaitForThreadTermination(hMemMapThread);
WaitForThreadTermination(hDumpRefreshThread);
}