From c94a118af80367c3f73cfe93559185c8f2cf3750 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Wed, 25 Feb 2026 03:00:09 +0200 Subject: #5084 Fix mac's watchdog not catching test case This happens because on mac watchdog quits at the end of frame. And events get handled outside the frame. The might be other cases that need similar handling. --- indra/newview/llappviewermacosx.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'indra/newview/llappviewermacosx.cpp') diff --git a/indra/newview/llappviewermacosx.cpp b/indra/newview/llappviewermacosx.cpp index b074c40c17..2bd9c8661a 100644 --- a/indra/newview/llappviewermacosx.cpp +++ b/indra/newview/llappviewermacosx.cpp @@ -135,6 +135,16 @@ void cleanupViewer() gViewerAppPtr = NULL; } +void startWatchdog(std::string_view state) +{ + gViewerAppPtr->resumeMainloopTimeout(state); +} + +void stopWatchdog() +{ + gViewerAppPtr->pauseMainloopTimeout(); +} + void clearDumpLogsDir() { if (!LLAppViewer::instance()->isSecondInstance()) -- cgit v1.3