mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
* Remove what should be unnecessary locking in InnerScene.GetEntitites()
This commit is contained in:
@@ -825,14 +825,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
/// <returns></returns>
|
||||
protected internal List<EntityBase> GetEntities()
|
||||
{
|
||||
List<EntityBase> result;
|
||||
|
||||
lock (Entities)
|
||||
{
|
||||
result = new List<EntityBase>(Entities.Values);
|
||||
}
|
||||
|
||||
return result;
|
||||
return new List<EntityBase>(Entities.Values);
|
||||
}
|
||||
|
||||
protected internal Dictionary<uint, float> GetTopScripts()
|
||||
|
||||
Reference in New Issue
Block a user