From ea78675fbdce6121aec666e93933136fe9c1d77a Mon Sep 17 00:00:00 2001 From: doshimun Date: Wed, 8 Apr 2009 18:58:12 +0000 Subject: [PATCH] AppVerifier leak test fix for Windows 7. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@327 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/windows/handler/exception_handler.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc index f3bb5a61..48900273 100644 --- a/src/client/windows/handler/exception_handler.cc +++ b/src/client/windows/handler/exception_handler.cc @@ -286,6 +286,8 @@ ExceptionHandler::~ExceptionHandler() { TerminateThread(handler_thread_, 1); #endif // BREAKPAD_NO_TERMINATE_THREAD + CloseHandle(handler_thread_); + handler_thread_ = NULL; DeleteCriticalSection(&handler_critical_section_); CloseHandle(handler_start_semaphore_); CloseHandle(handler_finish_semaphore_);