aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/handler/exception_handler.cc
diff options
context:
space:
mode:
authordoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-04-08 18:58:12 +0000
committerdoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-04-08 18:58:12 +0000
commitea78675fbdce6121aec666e93933136fe9c1d77a (patch)
tree085913123f85b475f798aceddfcd88b76cdc8263 /src/client/windows/handler/exception_handler.cc
parentSender tweaks; strip whitespace from server-returned ID, and change the title... (diff)
downloadbreakpad-ea78675fbdce6121aec666e93933136fe9c1d77a.tar.xz
AppVerifier leak test fix for Windows 7.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@327 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/handler/exception_handler.cc')
-rw-r--r--src/client/windows/handler/exception_handler.cc2
1 files changed, 2 insertions, 0 deletions
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_);