* Remove what should be unnecessary locking in InnerScene.GetEntitites()
parent
f45fa84905
commit
512c0c67a6
|
@ -825,14 +825,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
protected internal List<EntityBase> GetEntities()
|
protected internal List<EntityBase> GetEntities()
|
||||||
{
|
{
|
||||||
List<EntityBase> result;
|
return new List<EntityBase>(Entities.Values);
|
||||||
|
|
||||||
lock (Entities)
|
|
||||||
{
|
|
||||||
result = new List<EntityBase>(Entities.Values);
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected internal Dictionary<uint, float> GetTopScripts()
|
protected internal Dictionary<uint, float> GetTopScripts()
|
||||||
|
|
Loading…
Reference in New Issue