diff options
author | Kent Quirk <q@lindenlab.com> | 2010-02-13 19:05:21 -0500 |
---|---|---|
committer | Kent Quirk <q@lindenlab.com> | 2010-02-13 19:05:21 -0500 |
commit | 0b579ba112e5e4fa5b5348f1c865a3083b5e1175 (patch) | |
tree | 599c506927d50f9a4a51c2f776e8fe954505e4d0 /indra/llimage | |
parent | 96f29d2ba0b66754b3b7b9e0f75deb198a84cb5f (diff) | |
parent | 9fee359d1baf6e0046655cb8e4afabb8774754b1 (diff) |
Automated merge from viewer-2-0 to normalize beta 3
Diffstat (limited to 'indra/llimage')
-rw-r--r-- | indra/llimage/llimageworker.cpp | 11 |
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); |