summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-22 20:41:59 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-22 22:05:37 +0300
commit2ea8591bd1e62a7f03b0c76eed413ee7c87511bb (patch)
tree798b4685dd985d257c93111c3500a030278c9980
parent0cef18164bb0b4ed892f6e9e5fef31fc0f5dfb03 (diff)
p#475 Excess texture fetch shutdown logging
-rw-r--r--indra/newview/lltexturefetch.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index 51ade60827..144940c705 100644
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -1297,7 +1297,7 @@ bool LLTextureFetchWorker::doWork(S32 param)
else
{
mCanUseCapability = false;
- if (gDisconnected)
+ if (gDisconnected || LLAppViewer::isExiting())
{
// We lost connection or are shutting down.
mCanUseHTTP = false;
@@ -1315,6 +1315,12 @@ bool LLTextureFetchWorker::doWork(S32 param)
else
{
mCanUseCapability = false;
+ if (gDisconnected || LLAppViewer::isExiting())
+ {
+ // We lost connection or are shutting down.
+ mCanUseHTTP = false;
+ return true; // abort
+ }
mRegionRetryAttempt++;
mRegionRetryTimer.setTimerExpirySec(CAP_MISSING_EXPIRATION_DELAY);
// This will happen if not logged in or if a region deoes not have HTTP Texture enabled