diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index a3bd388abc..d187377488 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3382,6 +3382,18 @@ namespace OpenSim.Region.Framework.Scenes
}
}
+ ///
+ /// Remove the given client from the scene.
+ ///
+ ///
+ /// Only clientstack code should call this directly. All other code should call IncomingCloseAgent() instead
+ /// to properly operate the state machine and avoid race conditions with other close requests (such as directly
+ /// from viewers).
+ ///
+ /// ID of agent to close
+ ///
+ /// Close the neighbour child agents associated with this client.
+ ///
public override void RemoveClient(UUID agentID, bool closeChildAgents)
{
AgentCircuitData acd = m_authenticateHandler.GetAgentCircuitData(agentID);
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs
index d2097ea7ad..5252b9638a 100644
--- a/OpenSim/Region/Framework/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs
@@ -217,6 +217,19 @@ namespace OpenSim.Region.Framework.Scenes
#region Add/Remove Agent/Avatar
public abstract ISceneAgent AddNewClient(IClientAPI client, PresenceType type);
+
+ ///
+ /// Remove the given client from the scene.
+ ///
+ ///
+ /// Only clientstack code should call this directly. All other code should call IncomingCloseAgent() instead
+ /// to properly operate the state machine and avoid race conditions with other close requests (such as directly
+ /// from viewers).
+ ///
+ /// ID of agent to close
+ ///
+ /// Close the neighbour child agents associated with this client.
+ ///
public abstract void RemoveClient(UUID agentID, bool closeChildAgents);
public bool TryGetScenePresence(UUID agentID, out object scenePresence)