summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarl <me@darl.cat>2026-04-20 18:40:09 -0500
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-21 21:53:41 +0300
commit4d400489662fcab5d255629d14a7a64385a89893 (patch)
treef9456b81718745425387db1fba8a27872cb75368
parentf0b083c5e5223ec2e6c4f6a6761ce9480239d1de (diff)
Cleanup for PR #5269
Constitutes zero behavioral changes. Signed-off-by: Darl <me@darl.cat>
-rw-r--r--indra/newview/llmutelist.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp
index 0015bd09fb..36bcba2c5c 100644
--- a/indra/newview/llmutelist.cpp
+++ b/indra/newview/llmutelist.cpp
@@ -167,7 +167,8 @@ LLMuteList::LLMuteList() :
mLoadState(ML_INITIAL),
mLoadSource(MLS_NONE),
mRequestStartTime(0.f),
- mTriedCacheFallback(false)
+ mTriedCacheFallback(false),
+ mTriedRegionChangeRetry(false)
{
gGenericDispatcher.addHandler("emptymutelist", &sDispatchEmptyMuteList);
@@ -857,6 +858,9 @@ void LLMuteList::requestFromServer(const LLUUID& agent_id)
// Guard against potentially writing back to disk since we're not recovering our connection
mLoadState = ML_LOADED;
mLoadSource = MLS_FALLBACK_CACHE;
+ // This code path means we have disconnected/crashed before our request has been sent.
+ // As a result we do not NEED to do anything more than set these state values.
+ // cache() is liable to be called on shutdown, but since we've set a dirty state it will avoid writing to disk.
return;
}
if (!gAgent.getRegion())