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();
}