summaryrefslogtreecommitdiff
path: root/indra/llcommon/llqueuedthread.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-13 22:54:55 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-13 22:54:55 -0800
commitf67a8ad12ee4984a37d8ac7e551cdcc03ed5ecd3 (patch)
tree67261150b34b8f22a39445e3b8e3015ab215329f /indra/llcommon/llqueuedthread.cpp
parent9054f31f89963f2f24a6b872fbc6816ee01f0d70 (diff)
Mutex lock fix for texture cache.
Also a fix for texture purging when reducing the cache size.
Diffstat (limited to 'indra/llcommon/llqueuedthread.cpp')
-rw-r--r--indra/llcommon/llqueuedthread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/llqueuedthread.cpp b/indra/llcommon/llqueuedthread.cpp
index e7ad571a90..eacbbb3ee0 100644
--- a/indra/llcommon/llqueuedthread.cpp
+++ b/indra/llcommon/llqueuedthread.cpp
@@ -96,6 +96,7 @@ void LLQueuedThread::shutdown()
if (req->getStatus() == STATUS_QUEUED || req->getStatus() == STATUS_INPROGRESS)
{
++active_count;
+ req->setStatus(STATUS_ABORTED); // avoid assert in deleteRequest
}
req->deleteRequest();
}