From 98bcc6f04499ef21b25aba1a7afcad4469b4013c Mon Sep 17 00:00:00 2001 From: Nicky Date: Mon, 9 Jun 2014 03:59:36 +0200 Subject: [PATCH] OnClientDumpRequest is static, work around that. --- indra/win_crash_logger/llcrashloggerwindows.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/indra/win_crash_logger/llcrashloggerwindows.cpp b/indra/win_crash_logger/llcrashloggerwindows.cpp index 2f8b95f2fd..afd8d5ffc0 100644 --- a/indra/win_crash_logger/llcrashloggerwindows.cpp +++ b/indra/win_crash_logger/llcrashloggerwindows.cpp @@ -377,8 +377,6 @@ void LLCrashLoggerWindows::OnClientDumpRequest(void* context, const google_breakpad::ClientInfo* client_info, const std::wstring* file_path) { - mMinidumpWritten = true; // We crashed, need to send those crashlogs. - if (!file_path) { llwarns << "dump with no file path" << llendl; @@ -397,6 +395,9 @@ void LLCrashLoggerWindows::OnClientDumpRequest(void* context, return; } + + self->mMinidumpWritten = true; // We crashed, need to send those crashlogs. + //DWORD pid = client_info->pid(); }