diff options
| author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-06-19 23:32:32 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-06-22 19:14:20 +0300 |
| commit | 6d9293fe7393be0f17836c7e5512e8a2d8bb53f4 (patch) | |
| tree | 217b6e8a67e09c70f1114becf91eaa6f60a6c567 /indra/llcommon/llwatchdog.cpp | |
| parent | 9f05efc7618fb5c2ea0d6cb3ac1a21ba38184987 (diff) | |
#5084 Include watchdog's state in crash report
to help diagnose crashes
Diffstat (limited to 'indra/llcommon/llwatchdog.cpp')
| -rw-r--r-- | indra/llcommon/llwatchdog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/llwatchdog.cpp b/indra/llcommon/llwatchdog.cpp index 66b565c763..fd0702733c 100644 --- a/indra/llcommon/llwatchdog.cpp +++ b/indra/llcommon/llwatchdog.cpp @@ -116,6 +116,11 @@ bool LLWatchdogTimeout::isAlive() const return (mTimer.getStarted() && !mTimer.hasExpired()); } +bool LLWatchdogTimeout::hasExpired() const +{ + return mTimer.hasExpired(); +} + void LLWatchdogTimeout::reset() { mTimer.setTimerExpirySec(mTimeout); |
