Avoid race condition between m_PrimObjects iteration in XEngine.PostObjectEvent and places where the list is modified by extending the m_PrimObjects lock.
parent
d4cd9e050b
commit
689cafec63
|
@ -1363,7 +1363,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
uuids = m_PrimObjects[localID];
|
uuids = m_PrimObjects[localID];
|
||||||
}
|
|
||||||
|
|
||||||
foreach (UUID itemID in uuids)
|
foreach (UUID itemID in uuids)
|
||||||
{
|
{
|
||||||
|
@ -1381,6 +1380,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue