diff options
author | Justin Clark-Casey (justincc) | 2012-06-12 01:23:40 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-12 01:25:09 +0100 |
commit | 8c7149063bce41cac6543757c7b917583f21ea90 (patch) | |
tree | 6fe9cee7b0eb9c2d174a0eec117c3f0f762d5e21 /OpenSim/Region/ClientStack | |
parent | Comment out the scene presence sitting debug log messages for now (diff) | |
download | opensim-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/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 74b9c6d..c4f167e 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -490,12 +490,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
490 | /// </summary> | 490 | /// </summary> |
491 | public void Close() | 491 | public void Close() |
492 | { | 492 | { |
493 | IsActive = false; | ||
494 | |||
493 | m_log.DebugFormat( | 495 | m_log.DebugFormat( |
494 | "[CLIENT]: Close has been called for {0} attached to scene {1}", | 496 | "[CLIENT]: Close has been called for {0} attached to scene {1}", |
495 | Name, m_scene.RegionInfo.RegionName); | 497 | Name, m_scene.RegionInfo.RegionName); |
496 | 498 | ||
497 | IsActive = false; | ||
498 | |||
499 | // Shutdown the image manager | 499 | // Shutdown the image manager |
500 | ImageManager.Close(); | 500 | ImageManager.Close(); |
501 | 501 | ||