diff options
author | Dave Parks <davep@lindenlab.com> | 2022-06-01 09:25:16 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-06-01 09:25:16 -0500 |
commit | 609476e607b18d303afa5f5b5eeabeca84f95d16 (patch) | |
tree | 3059d50ca77c614886160a7333d5674b32670122 /indra/llcommon | |
parent | fc7b5549cb6092194d11b8d87600f21992305c1c (diff) |
SL-17484 More unit test pruning. Fix for crash when deleting textures.
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llqueuedthread.cpp | 5 |
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--) { |