mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
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.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user