aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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);