* Fixed a crash if the server is unable to connect to the UserServer when a user logs off
parent
c4687116ad
commit
8aa796595c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue