From 512c0c67a625390c1010fed6bad1ebe9f9a13043 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 3 Jun 2008 08:17:33 +0000 Subject: [PATCH] * Remove what should be unnecessary locking in InnerScene.GetEntitites() --- OpenSim/Region/Environment/Scenes/InnerScene.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index b6ba706c33..f96eafb177 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -825,14 +825,7 @@ namespace OpenSim.Region.Environment.Scenes /// protected internal List GetEntities() { - List result; - - lock (Entities) - { - result = new List(Entities.Values); - } - - return result; + return new List(Entities.Values); } protected internal Dictionary GetTopScripts()