Skip to content
Snippets Groups Projects
Commit 84d6cdf6 authored by Graham Madarasz (Graham Linden)'s avatar Graham Madarasz (Graham Linden)
Browse files

Fix use of breakpad ExceptionHandler on windows

parent 3c486da1
Branches
Tags
No related merge requests found
...@@ -299,7 +299,7 @@ void LLApp::setupErrorHandling() ...@@ -299,7 +299,7 @@ void LLApp::setupErrorHandling()
{ {
llwarns << "adding breakpad exception handler" << llendl; llwarns << "adding breakpad exception handler" << llendl;
mExceptionHandler = new google_breakpad::ExceptionHandler( mExceptionHandler = new google_breakpad::ExceptionHandler(
L"C:\\Temp\\", 0, windows_post_minidump_callback, 0, google_breakpad::ExceptionHandler::HANDLER_ALL); L"C:\\Temp\\", 0, windows_post_minidump_callback, 0, true, google_breakpad::ExceptionHandler::HANDLER_ALL);
} }
#endif #endif
#else #else
...@@ -350,7 +350,7 @@ void LLApp::setupErrorHandling() ...@@ -350,7 +350,7 @@ void LLApp::setupErrorHandling()
if(installHandler && (mExceptionHandler == 0)) if(installHandler && (mExceptionHandler == 0))
{ {
std::string dumpPath = "/tmp/"; std::string dumpPath = "/tmp/";
mExceptionHandler = new google_breakpad::ExceptionHandler(dumpPath, 0, &unix_post_minidump_callback, 0, true, 0); mExceptionHandler = new google_breakpad::ExceptionHandler(dumpPath, 0, &unix_post_minidump_callback, 0, true, google_breakpad::ExceptionHandler::HANDLER_ALL);
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment