aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-12 01:23:40 +0100
committerJustin Clark-Casey (justincc)2012-06-12 01:25:09 +0100
commit8c7149063bce41cac6543757c7b917583f21ea90 (patch)
tree6fe9cee7b0eb9c2d174a0eec117c3f0f762d5e21 /OpenSim/Region/Framework/Scenes/Scene.cs
parentComment out the scene presence sitting debug log messages for now (diff)
downloadopensim-SC_OLD-8c7149063bce41cac6543757c7b917583f21ea90.zip
opensim-SC_OLD-8c7149063bce41cac6543757c7b917583f21ea90.tar.gz
opensim-SC_OLD-8c7149063bce41cac6543757c7b917583f21ea90.tar.bz2
opensim-SC_OLD-8c7149063bce41cac6543757c7b917583f21ea90.tar.xz
In PresenceDetector.OnConnectionClose(), use the IsChildAgent check already available on IClientAPI.SceneAgent rather than retrieving it again by scanning all scenes.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 7afde38..1305d83 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3463,10 +3463,9 @@ namespace OpenSim.Region.Framework.Scenes
3463 // Or the same user is trying to be root twice here, won't work. 3463 // Or the same user is trying to be root twice here, won't work.
3464 // Kill it. 3464 // Kill it.
3465 m_log.DebugFormat( 3465 m_log.DebugFormat(
3466 "[SCENE]: Zombie scene presence detected for {0} in {1}", 3466 "[SCENE]: Zombie scene presence detected for {0} {1} in {2}",
3467 agent.AgentID, 3467 sp.Name, sp.UUID, RegionInfo.RegionName);
3468 RegionInfo.RegionName 3468
3469 );
3470 sp.ControllingClient.Close(); 3469 sp.ControllingClient.Close();
3471 sp = null; 3470 sp = null;
3472 } 3471 }