summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-21 20:34:23 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-21 20:59:39 +0300
commit0d5138c1f93a77ff52551a76d0d8575413550859 (patch)
tree64542828f2ebbf2e1bbe2516073a7dfbe9b5a075
parent9a2ff1657d380c19ecb491bee1598e9ba037ef56 (diff)
#4839 Crash at LLPluginProcessParent::poll
Missed lock
-rw-r--r--indra/llplugin/llpluginprocessparent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp
index afee099697..02c7d9507d 100644
--- a/indra/llplugin/llpluginprocessparent.cpp
+++ b/indra/llplugin/llpluginprocessparent.cpp
@@ -983,6 +983,7 @@ void LLPluginProcessParent::poll(F64 timeout)
}
// Remove instances in the done state from the sInstances map.
+ LLCoros::LockType lock(*sInstancesMutex);
mapInstances_t::iterator itClean = sInstances.begin();
while (itClean != sInstances.end())
{