diff options
author | Dalien Talbot | 2007-11-18 07:16:17 +0000 |
---|---|---|
committer | Dalien Talbot | 2007-11-18 07:16:17 +0000 |
commit | f7b5c6550bfb03169360bf4d84e8837c11332905 (patch) | |
tree | b491fa51278bcf015b67be7795a9673e8d7628dc /OpenSim/Region | |
parent | Revert the previous commit - indeed this needs to be fixed in a (diff) | |
download | opensim-SC_OLD-f7b5c6550bfb03169360bf4d84e8837c11332905.zip opensim-SC_OLD-f7b5c6550bfb03169360bf4d84e8837c11332905.tar.gz opensim-SC_OLD-f7b5c6550bfb03169360bf4d84e8837c11332905.tar.bz2 opensim-SC_OLD-f7b5c6550bfb03169360bf4d84e8837c11332905.tar.xz |
Second try at having a bandaid for the multiple logins crash
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 9 |
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); |