summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-11-06 20:16:55 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-11-06 21:37:10 +0200
commit4e78b4c9fe429f75f1ff99a8af59c277276c2bc1 (patch)
treef08da7ef52605eb0722c45ffa1b439ea058170ec
parent3694df79bf11cf9ad37ed74b7b9821d674f78730 (diff)
#4651 Distinguish logout crashes from other crashes
-rw-r--r--indra/newview/llappviewerwin32.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp
index a951338138..64b506a335 100644
--- a/indra/newview/llappviewerwin32.cpp
+++ b/indra/newview/llappviewerwin32.cpp
@@ -179,7 +179,14 @@ namespace
// If marker doesn't exist, create a marker with 'other' code for next launch
// otherwise don't override existing file
// Any unmarked crashes will be considered as freezes
- app->createErrorMarker(LAST_EXEC_OTHER_CRASH);
+ if (app->logoutRequestSent())
+ {
+ app->createErrorMarker(LAST_EXEC_LOGOUT_CRASH);
+ }
+ else
+ {
+ app->createErrorMarker(LAST_EXEC_OTHER_CRASH);
+ }
}
} // MDSCB_EXCEPTIONCODE