diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index 3e250da5a0..b6ba706c33 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -627,19 +627,13 @@ namespace OpenSim.Region.Environment.Scenes #region Get Methods /// - /// Request a List of all m_scenePresences in this World + /// Request a List of all scene presences in this scene. This returns a copy of the original list, so no + /// locking is required to iterate over it. /// /// protected internal List GetScenePresences() { - List result; - - lock (ScenePresences) - { - result = new List(ScenePresences.Values); - } - - return result; + return new List(ScenePresences.Values); } protected internal List GetAvatars()