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:
doshimun 2009-04-08 18:58:12 +00:00
parent 841f5f7390
commit ea78675fbd

View file

@ -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_);