mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
minor: seal up another instance of using the appearance list without locking
This commit is contained in:
@@ -366,7 +366,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -3512,7 +3512,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public bool HasAttachments()
|
||||
{
|
||||
return m_attachments.Count > 0;
|
||||
lock (m_attachments)
|
||||
return m_attachments.Count > 0;
|
||||
}
|
||||
|
||||
public bool HasScriptedAttachments()
|
||||
|
||||
Reference in New Issue
Block a user