diff options
-rw-r--r-- | src/client/windows/handler/exception_handler.cc | 2 |
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_); |