Remove redundant origin region lock in SP.CompleteMovement()

This is already going to be correctly set by WaitForUpdateAgent() earlier on in that method, which is always called where a callback to the originating region is required.
0.8-extended
Justin Clark-Casey (justincc) 2014-08-13 23:11:32 +01:00 committed by Justin Clark-Casey
parent d66e264e50
commit 5360cd4247
1 changed files with 1 additions and 6 deletions

View File

@ -1763,12 +1763,7 @@ namespace OpenSim.Region.Framework.Scenes
"[SCENE PRESENCE]: Releasing {0} {1} with callback to {2}", "[SCENE PRESENCE]: Releasing {0} {1} with callback to {2}",
client.Name, client.AgentId, m_callbackURI); client.Name, client.AgentId, m_callbackURI);
UUID originID; Scene.SimulationService.ReleaseAgent(m_originRegionID, UUID, m_callbackURI);
lock (m_originRegionIDAccessLock)
originID = m_originRegionID;
Scene.SimulationService.ReleaseAgent(originID, UUID, m_callbackURI);
m_callbackURI = null; m_callbackURI = null;
} }
// else // else