diff --git a/thirdparty/breakpad/client/windows/handler/exception_handler.cc b/thirdparty/breakpad/client/windows/handler/exception_handler.cc index 814c7417b..a2b458079 100644 --- a/thirdparty/breakpad/client/windows/handler/exception_handler.cc +++ b/thirdparty/breakpad/client/windows/handler/exception_handler.cc @@ -221,8 +221,8 @@ void ExceptionHandler::Initialize(const wstring& dump_path, previous_iph_ = _set_invalid_parameter_handler(HandleInvalidParameter); #endif // _MSC_VER >= 1400 - if (handler_types & HANDLER_PURECALL) - previous_pch_ = _set_purecall_handler(HandlePureVirtualCall); +// if (handler_types & HANDLER_PURECALL) +// previous_pch_ = _set_purecall_handler(HandlePureVirtualCall); LeaveCriticalSection(&handler_stack_critical_section_); } @@ -248,8 +248,8 @@ ExceptionHandler::~ExceptionHandler() { _set_invalid_parameter_handler(previous_iph_); #endif // _MSC_VER >= 1400 - if (handler_types_ & HANDLER_PURECALL) - _set_purecall_handler(previous_pch_); +// if (handler_types_ & HANDLER_PURECALL) +// _set_purecall_handler(previous_pch_); if (handler_stack_->back() == this) { handler_stack_->pop_back(); @@ -382,7 +382,7 @@ class AutoExceptionHandler { #if _MSC_VER >= 1400 // MSVC 2005/8 _set_invalid_parameter_handler(handler_->previous_iph_); #endif // _MSC_VER >= 1400 - _set_purecall_handler(handler_->previous_pch_); +// _set_purecall_handler(handler_->previous_pch_); } ~AutoExceptionHandler() { @@ -391,7 +391,7 @@ class AutoExceptionHandler { #if _MSC_VER >= 1400 // MSVC 2005/8 _set_invalid_parameter_handler(ExceptionHandler::HandleInvalidParameter); #endif // _MSC_VER >= 1400 - _set_purecall_handler(ExceptionHandler::HandlePureVirtualCall); +// _set_purecall_handler(ExceptionHandler::HandlePureVirtualCall); --ExceptionHandler::handler_stack_index_; LeaveCriticalSection(&ExceptionHandler::handler_stack_critical_section_);