mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Added the same catch on the 2nd place that objects fail to lock.
This commit is contained in:
@@ -238,6 +238,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");
|
||||
}
|
||||
|
||||
for (int j = 0; j < flfli.Count; j++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user