diff options
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 1ee0db0..735dddb 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -934,6 +934,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
934 | { | 934 | { |
935 | avatar.Close(); | 935 | avatar.Close(); |
936 | } | 936 | } |
937 | catch (System.NullReferenceException NE) | ||
938 | { | ||
939 | //We can safely ignore null reference exceptions. It means the avatar are dead and cleaned up anyway. | ||
940 | |||
941 | } | ||
937 | catch (Exception e) | 942 | catch (Exception e) |
938 | { | 943 | { |
939 | MainLog.Instance.Error("Scene.cs:RemoveClient exception: " + e.ToString()); | 944 | MainLog.Instance.Error("Scene.cs:RemoveClient exception: " + e.ToString()); |