From 512c0c67a625390c1010fed6bad1ebe9f9a13043 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Tue, 3 Jun 2008 08:17:33 +0000
Subject: * Remove what should be unnecessary locking in
InnerScene.GetEntitites()
---
OpenSim/Region/Environment/Scenes/InnerScene.cs | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
(limited to 'OpenSim/Region')
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index b6ba706..f96eafb 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()
--
cgit v1.1