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.
bullet-2.82
Justin Clark-Casey (justincc) 2014-08-13 23:11:32 +01:00
parent 0db6f3a2bd
commit 0d2a25b477
1 changed files with 1 additions and 6 deletions

View File

@ -1764,12 +1764,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