diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e792d3f..5af7513 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1764,12 +1764,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1764 | "[SCENE PRESENCE]: Releasing {0} {1} with callback to {2}", | 1764 | "[SCENE PRESENCE]: Releasing {0} {1} with callback to {2}", |
1765 | client.Name, client.AgentId, m_callbackURI); | 1765 | client.Name, client.AgentId, m_callbackURI); |
1766 | 1766 | ||
1767 | UUID originID; | 1767 | Scene.SimulationService.ReleaseAgent(m_originRegionID, UUID, m_callbackURI); |
1768 | |||
1769 | lock (m_originRegionIDAccessLock) | ||
1770 | originID = m_originRegionID; | ||
1771 | |||
1772 | Scene.SimulationService.ReleaseAgent(originID, UUID, m_callbackURI); | ||
1773 | m_callbackURI = null; | 1768 | m_callbackURI = null; |
1774 | } | 1769 | } |
1775 | // else | 1770 | // else |