* Remove what should be unnecessary locking in InnerScene.GetEntitites()

0.6.0-stable
Justin Clarke Casey 2008-06-03 08:17:33 +00:00
parent f45fa84905
commit 512c0c67a6
1 changed files with 1 additions and 8 deletions

View File

@ -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()