summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewerwin32.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-06-19 23:32:32 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-06-22 19:14:20 +0300
commit6d9293fe7393be0f17836c7e5512e8a2d8bb53f4 (patch)
tree217b6e8a67e09c70f1114becf91eaa6f60a6c567 /indra/newview/llappviewerwin32.cpp
parent9f05efc7618fb5c2ea0d6cb3ac1a21ba38184987 (diff)
#5084 Include watchdog's state in crash report
to help diagnose crashes
Diffstat (limited to 'indra/newview/llappviewerwin32.cpp')
-rw-r--r--indra/newview/llappviewerwin32.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp
index 25aeb2a26e..416efa9354 100644
--- a/indra/newview/llappviewerwin32.cpp
+++ b/indra/newview/llappviewerwin32.cpp
@@ -193,6 +193,14 @@ namespace
}
LLAppViewer* app = LLAppViewer::instance();
+
+ // Include mainloop watchdog state if available
+ std::string watchdog_state = app->getMainloopWatchdogState();
+ if (!watchdog_state.empty())
+ {
+ sBugSplatSender->setAttribute(WCSTR(L"WatchdogState"), WCSTR(watchdog_state));
+ }
+
if (!app->isSecondInstance() && !app->errorMarkerExists())
{
// If marker doesn't exist, create a marker with 'other' or 'logout' code for next launch