aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTom Grimshaw2010-05-10 08:47:41 -0700
committerTom Grimshaw2010-05-10 08:47:41 -0700
commit3cda854ef312a71f3ceab6cb8339a0d2d2fce803 (patch)
tree28a7eabac0aa01e8a90a988ab7ac1c62071ec3f8 /OpenSim/Region
parentCorrect an odd merge anomaly (diff)
downloadopensim-SC_OLD-3cda854ef312a71f3ceab6cb8339a0d2d2fce803.zip
opensim-SC_OLD-3cda854ef312a71f3ceab6cb8339a0d2d2fce803.tar.gz
opensim-SC_OLD-3cda854ef312a71f3ceab6cb8339a0d2d2fce803.tar.bz2
opensim-SC_OLD-3cda854ef312a71f3ceab6cb8339a0d2d2fce803.tar.xz
Fix overlooked readLock which was left open
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index ff471e0..35134d6 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -123,7 +123,7 @@ namespace OpenSim.Region.Framework.Scenes
123 } 123 }
124 if (m_partsLock.RecursiveWriteCount > 0) 124 if (m_partsLock.RecursiveWriteCount > 0)
125 { 125 {
126 m_log.Error("[SceneObjectGroup.m_parts] Recursive read lock requested. This should not happen and means something needs to be fixed."); 126 m_log.Error("[SceneObjectGroup.m_parts] Recursive read lock requested (write lock exists on this thread). This should not happen and means something needs to be fixed.");
127 m_partsLock.ExitWriteLock(); 127 m_partsLock.ExitWriteLock();
128 } 128 }
129 129
@@ -1667,6 +1667,7 @@ namespace OpenSim.Region.Framework.Scenes
1667 remoteClient, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, part.UUID)); 1667 remoteClient, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, part.UUID));
1668 } 1668 }
1669 } 1669 }
1670 lockPartsForRead(false);
1670 } 1671 }
1671 1672
1672 #region Copying 1673 #region Copying