Second try at having a bandaid for the multiple logins crash

afrisby
Dalien Talbot 2007-11-18 07:16:17 +00:00
parent 8ebf75ec24
commit f7b5c6550b
1 changed files with 8 additions and 1 deletions

View File

@ -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);