Removing special casing on failures. This may also fix reports of this issue:

22:07:53 - [USER AGENT CONNECTOR]: remote call to http://hg.osgrid.org:80/ returned an error: Requested method [locate_user] from 127.0.0.1 threw exception: Object reference not set to an instance of an object   at OpenSim.Services.HypergridService.UserAgentService.LocateUser (UUID userID) [0x00000] in <filename unknown>:0
bulletsim
Diva Canto 2011-06-08 19:51:48 -07:00
parent 49e4e53928
commit 4cf60c5d9d
1 changed files with 4 additions and 2 deletions

View File

@ -197,9 +197,11 @@ namespace OpenSim.Services.HypergridService
agentCircuit.firstname, agentCircuit.lastname, region.ServerURI, reason); agentCircuit.firstname, agentCircuit.lastname, region.ServerURI, reason);
// restore the old travel info // restore the old travel info
if(reason != "Logins Disabled")
{
lock (m_TravelingAgents) lock (m_TravelingAgents)
{
if (old == null)
m_TravelingAgents.Remove(agentCircuit.SessionID);
else
m_TravelingAgents[agentCircuit.SessionID] = old; m_TravelingAgents[agentCircuit.SessionID] = old;
} }