diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2026-02-25 03:00:09 +0200 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-03-02 17:37:12 +0200 |
| commit | c94a118af80367c3f73cfe93559185c8f2cf3750 (patch) | |
| tree | dfc06d2a0863960de188093c47b7ab6c02919936 /indra/newview/llappviewermacosx.cpp | |
| parent | ed418397a17573f0bf72991cb8348558e1049f14 (diff) | |
#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.
Diffstat (limited to 'indra/newview/llappviewermacosx.cpp')
| -rw-r--r-- | indra/newview/llappviewermacosx.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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()) |
