aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorDalien Talbot2007-11-18 07:16:17 +0000
committerDalien Talbot2007-11-18 07:16:17 +0000
commitf7b5c6550bfb03169360bf4d84e8837c11332905 (patch)
treeb491fa51278bcf015b67be7795a9673e8d7628dc /OpenSim/Region/Environment/Scenes
parentRevert the previous commit - indeed this needs to be fixed in a (diff)
downloadopensim-SC-f7b5c6550bfb03169360bf4d84e8837c11332905.zip
opensim-SC-f7b5c6550bfb03169360bf4d84e8837c11332905.tar.gz
opensim-SC-f7b5c6550bfb03169360bf4d84e8837c11332905.tar.bz2
opensim-SC-f7b5c6550bfb03169360bf4d84e8837c11332905.tar.xz
Second try at having a bandaid for the multiple logins crash
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index f6a6461..2c765a3 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -792,7 +792,14 @@ namespace OpenSim.Region.Environment.Scenes
792 Entities.Remove(agentID); 792 Entities.Remove(agentID);
793 } 793 }
794 794
795 avatar.Close(); 795 try
796 {
797 avatar.Close();
798 }
799 catch (Exception e)
800 {
801 MainLog.Instance.Error("Scene.cs:RemoveClient exception: " + e.ToString());
802 }
796 803
797 // Remove client agent from profile, so new logins will work 804 // Remove client agent from profile, so new logins will work
798 CommsManager.UserService.clearUserAgent(agentID); 805 CommsManager.UserService.clearUserAgent(agentID);