Patch by mcortez: Remove lock from scene presence updating in groups module

prioritization
Melanie 2009-10-21 18:45:37 +01:00
parent 93b24b5207
commit 8dd15fd5a5
1 changed files with 9 additions and 11 deletions

View File

@ -1244,8 +1244,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
if (m_debugEnabled) m_log.DebugFormat("[GROUPS]: Updating scene title for {0} with title: {1}", AgentID, Title); if (m_debugEnabled) m_log.DebugFormat("[GROUPS]: Updating scene title for {0} with title: {1}", AgentID, Title);
ScenePresence presence = null; ScenePresence presence = null;
lock (m_sceneList)
{
foreach (Scene scene in m_sceneList) foreach (Scene scene in m_sceneList)
{ {
presence = scene.GetScenePresence(AgentID); presence = scene.GetScenePresence(AgentID);
@ -1258,7 +1257,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
} }
} }
} }
}
/// <summary> /// <summary>
/// Send updates to all clients who might be interested in groups data for dataForClientID /// Send updates to all clients who might be interested in groups data for dataForClientID