cdvdgigaherz: Fix event handle memory leak

Also bump the version to 0.10.0.
This commit is contained in:
Jonathan Li 2016-09-08 22:35:40 +01:00
parent 303996818c
commit d540dbec79
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,7 @@ char *LibName = "cdvdGigaherz "
const unsigned char version = PS2E_CDVD_VERSION; const unsigned char version = PS2E_CDVD_VERSION;
const unsigned char revision = 0; const unsigned char revision = 0;
const unsigned char build = 9; const unsigned char build = 10;
HINSTANCE hinst; HINSTANCE hinst;
@ -197,6 +197,7 @@ void StopKeepAliveThread()
TerminateThread(hThread_keepAlive, 0); TerminateThread(hThread_keepAlive, 0);
} }
CloseHandle(hThread_keepAlive); CloseHandle(hThread_keepAlive);
CloseHandle(hNotify_keepAlive);
} }
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////