mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Ignore nullreferenceexception in removeclient. The avatar is already gone.
This commit is contained in:
@@ -934,6 +934,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
avatar.Close();
|
||||
}
|
||||
catch (System.NullReferenceException NE)
|
||||
{
|
||||
//We can safely ignore null reference exceptions. It means the avatar are dead and cleaned up anyway.
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MainLog.Instance.Error("Scene.cs:RemoveClient exception: " + e.ToString());
|
||||
|
||||
Reference in New Issue
Block a user