diff options
| author | Darl <me@darl.cat> | 2026-04-02 11:56:42 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-04-07 20:48:52 +0300 |
| commit | 840383def31edd7b60f49bbc82303bf642c0d1ec (patch) | |
| tree | d095e306ab7b90e234d89f1e9cbf1559f02d16a0 | |
| parent | 0abb59a959d16b1163076ff0bd804d59ccf57bdb (diff) | |
Eliminate pointless mutelist cache fallback attempt, instead manually set state to guard against a possible cache write to disk to be safe
Signed-off-by: Darl <me@darl.cat>
| -rw-r--r-- | indra/newview/llmutelist.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp index 02a5a43c6b..39588ba51d 100644 --- a/indra/newview/llmutelist.cpp +++ b/indra/newview/llmutelist.cpp @@ -833,7 +833,9 @@ void LLMuteList::requestFromServer(const LLUUID& agent_id) if (gDisconnected) { LL_WARNS() << "Trying to request mute list when disconnected!" << LL_ENDL; - tryLoadCacheFallback(agent_id, "disconnected before request"); + // Guard against potentially writing back to disk since we're not recovering our connection + mLoadState = ML_LOADED; + mLoadSource = MLS_FALLBACK_CACHE; return; } if (!gAgent.getRegion()) |
