* Applying Melanie's FriendList related crash patch. She discovered that .NET throws a different error then mono does. Thanks Melanie!
parent
3c7e6b0c1e
commit
fd035ec1f8
|
@ -256,6 +256,13 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends
|
|||
// prevents a sim crash.
|
||||
m_log.Info("[FRIEND]: Unable to enumerate last friendlist user. User logged off");
|
||||
}
|
||||
catch (ArgumentOutOfRangeException)
|
||||
{
|
||||
// Ignore the index out of range exception.
|
||||
// This causes friend lists to get out of sync slightly.. however
|
||||
// prevents a sim crash.
|
||||
m_log.Info("[FRIEND]: Unable to enumerate last friendlist user. User logged off");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -498,4 +505,4 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends
|
|||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue