summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-02-15 13:46:49 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2010-02-15 13:46:49 +0200
commit8ba5e0155ff0cbc2355ac4daf468d291fae84afa (patch)
tree74c8e9a6f9ae76f3fd3414fde4d74f6a824aad0a /indra/llimage
parent75a060497c06d0143a0515f4d5665097da34a3e3 (diff)
parent9fee359d1baf6e0046655cb8e4afabb8774754b1 (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/llimageworker.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp
index 86d41515e7..20a72d0a28 100644
--- a/indra/llimage/llimageworker.cpp
+++ b/indra/llimage/llimageworker.cpp
@@ -54,9 +54,14 @@ S32 LLImageDecodeThread::update(U32 max_time_ms)
{
creation_info& info = *iter;
ImageRequest* req = new ImageRequest(info.handle, info.image,
- info.priority, info.discard, info.needs_aux,
- info.responder);
- addRequest(req);
+ info.priority, info.discard, info.needs_aux,
+ info.responder);
+
+ bool res = addRequest(req);
+ if (!res)
+ {
+ llerrs << "request added after LLLFSThread::cleanupClass()" << llendl;
+ }
}
mCreationList.clear();
S32 res = LLQueuedThread::update(max_time_ms);