From f7b5c6550bfb03169360bf4d84e8837c11332905 Mon Sep 17 00:00:00 2001 From: Dalien Talbot Date: Sun, 18 Nov 2007 07:16:17 +0000 Subject: Second try at having a bandaid for the multiple logins crash --- OpenSim/Region/Environment/Scenes/Scene.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 Entities.Remove(agentID); } - avatar.Close(); + try + { + avatar.Close(); + } + catch (Exception e) + { + MainLog.Instance.Error("Scene.cs:RemoveClient exception: " + e.ToString()); + } // Remove client agent from profile, so new logins will work CommsManager.UserService.clearUserAgent(agentID); -- cgit v1.1