Trap the error during the logout with connections to multiple sims on

the same box (error in closecircuit) - temp band-aid, should have a 
better fix.
afrisby
Dalien Talbot 2007-11-18 06:33:15 +00:00
parent 6866dc5297
commit aa57b386b7
1 changed files with 9 additions and 3 deletions

View File

@ -152,8 +152,14 @@ namespace OpenSim.Region.ClientStack
public void Close()
{
clientPingTimer.Stop();
m_scene.RemoveClient(AgentId);
try
{
m_scene.RemoveClient(AgentId);
}
catch (Exception e)
{
MainLog.Instance.Error("ClientView.cs:Close, exception: " + e.ToString());
}
ClientThread.Abort();
}
@ -389,4 +395,4 @@ namespace OpenSim.Region.ClientStack
ClientThread.Abort();
}
}
}
}