* Fixed a crash if the server is unable to connect to the UserServer when a user logs off

ThreadPoolClientBranch
Teravus Ovares 2008-01-29 17:16:38 +00:00
parent c4687116ad
commit 8aa796595c
1 changed files with 9 additions and 1 deletions

View File

@ -152,7 +152,15 @@ namespace OpenSim.Region.Communications.OGS1
IList parameters = new ArrayList();
parameters.Add(param);
XmlRpcRequest req = new XmlRpcRequest("logout_of_simulator", parameters);
XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 3000);
try
{
XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 3000);
}
catch (System.Net.WebException)
{
MainLog.Instance.Warn("LOGOFF", "Unable to notify grid server of user logoff");
}
}
public UserProfileData GetUserProfile(string firstName, string lastName)