Skip to content

Commit 0d5138c

Browse files
committed
#4839 Crash at LLPluginProcessParent::poll
Missed lock
1 parent 9a2ff16 commit 0d5138c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

indra/llplugin/llpluginprocessparent.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ void LLPluginProcessParent::poll(F64 timeout)
983983
}
984984

985985
// Remove instances in the done state from the sInstances map.
986+
LLCoros::LockType lock(*sInstancesMutex);
986987
mapInstances_t::iterator itClean = sInstances.begin();
987988
while (itClean != sInstances.end())
988989
{

0 commit comments

Comments
 (0)