diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-11-13 22:54:55 -0800 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-13 22:54:55 -0800 |
commit | f67a8ad12ee4984a37d8ac7e551cdcc03ed5ecd3 (patch) | |
tree | 67261150b34b8f22a39445e3b8e3015ab215329f /indra/llcommon/llqueuedthread.cpp | |
parent | 9054f31f89963f2f24a6b872fbc6816ee01f0d70 (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.cpp | 1 |
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(); } |