summaryrefslogtreecommitdiff
path: root/indra/llcommon/threadpool.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-02-16 00:02:04 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-02-16 19:58:13 +0200
commitd0e82ca55670645eacc61fca39bf8667c0840de9 (patch)
treecd5f6d07dc5e18d667b3161071d51b7dcd131e3c /indra/llcommon/threadpool.cpp
parent07f54e72766d903292fec985e7c5eb46a6a325ca (diff)
jira-archive-internal#67837 Windows' bulk export of snapshots and textures
SL-17661 Viewer was silently failing to 'save selection as'
Diffstat (limited to 'indra/llcommon/threadpool.cpp')
-rw-r--r--indra/llcommon/threadpool.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/threadpool.cpp b/indra/llcommon/threadpool.cpp
index 3a9a5a2062..e22013312d 100644
--- a/indra/llcommon/threadpool.cpp
+++ b/indra/llcommon/threadpool.cpp
@@ -99,6 +99,10 @@ void LL::ThreadPoolBase::start()
LL::ThreadPoolBase::~ThreadPoolBase()
{
close();
+ if (!LLEventPumps::wasDeleted())
+ {
+ LLEventPumps::instance().obtain("LLApp").stopListening(mName);
+ }
}
void LL::ThreadPoolBase::close()