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
Dr Scofield 2009-03-11 09:07:50 +00:00
parent c20e0286d3
commit b6b83be562
1 changed files with 9 additions and 6 deletions

View File

@ -575,6 +575,8 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
{
List<Object> data = new List<Object>();
lock (m_listeners)
{
foreach (List<ListenerInfo> list in m_listeners.Values)
{
foreach (ListenerInfo l in list)
@ -583,6 +585,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
data.AddRange(l.GetSerializationData());
}
}
}
return (Object[])data.ToArray();
}