summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-06-01 09:25:16 -0500
committerDave Parks <davep@lindenlab.com>2022-06-01 09:25:16 -0500
commit609476e607b18d303afa5f5b5eeabeca84f95d16 (patch)
tree3059d50ca77c614886160a7333d5674b32670122 /indra/llcommon
parentfc7b5549cb6092194d11b8d87600f21992305c1c (diff)
SL-17484 More unit test pruning. Fix for crash when deleting textures.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llqueuedthread.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/llqueuedthread.cpp b/indra/llcommon/llqueuedthread.cpp
index 60304fff75..155e32ebae 100644
--- a/indra/llcommon/llqueuedthread.cpp
+++ b/indra/llcommon/llqueuedthread.cpp
@@ -75,6 +75,11 @@ void LLQueuedThread::shutdown()
unpause(); // MAIN THREAD
if (mThreaded)
{
+ if (mRequestQueue.size() == 0)
+ {
+ mRequestQueue.close();
+ }
+
S32 timeout = 100;
for ( ; timeout>0; timeout--)
{