AppVerifier leak test fix for Windows 7.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@327 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
841f5f7390
commit
ea78675fbd
1 changed files with 2 additions and 0 deletions
|
@ -286,6 +286,8 @@ ExceptionHandler::~ExceptionHandler() {
|
||||||
TerminateThread(handler_thread_, 1);
|
TerminateThread(handler_thread_, 1);
|
||||||
#endif // BREAKPAD_NO_TERMINATE_THREAD
|
#endif // BREAKPAD_NO_TERMINATE_THREAD
|
||||||
|
|
||||||
|
CloseHandle(handler_thread_);
|
||||||
|
handler_thread_ = NULL;
|
||||||
DeleteCriticalSection(&handler_critical_section_);
|
DeleteCriticalSection(&handler_critical_section_);
|
||||||
CloseHandle(handler_start_semaphore_);
|
CloseHandle(handler_start_semaphore_);
|
||||||
CloseHandle(handler_finish_semaphore_);
|
CloseHandle(handler_finish_semaphore_);
|
||||||
|
|
Loading…
Reference in a new issue