From: Alan M Webb <alan_webb@us.ibm.com>
This fixes *another* sync error in a list/dictionary iterator. This time in WorldComm. I'm beginning to think something is going on...0.6.5-rc1
parent
c20e0286d3
commit
b6b83be562
|
@ -575,13 +575,16 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
|||
{
|
||||
List<Object> data = new List<Object>();
|
||||
|
||||
foreach (List<ListenerInfo> list in m_listeners.Values)
|
||||
lock (m_listeners)
|
||||
{
|
||||
foreach (ListenerInfo l in list)
|
||||
{
|
||||
if (l.GetItemID() == itemID)
|
||||
data.AddRange(l.GetSerializationData());
|
||||
}
|
||||
foreach (List<ListenerInfo> list in m_listeners.Values)
|
||||
{
|
||||
foreach (ListenerInfo l in list)
|
||||
{
|
||||
if (l.GetItemID() == itemID)
|
||||
data.AddRange(l.GetSerializationData());
|
||||
}
|
||||
}
|
||||
}
|
||||
return (Object[])data.ToArray();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue