mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Refactored "known child region" in ScenePresence. There were 4 different
ways to access the list/dictionary of child regions and locking was inconsistent. There are now public properties which enforce locks. Callers are no longer required to create new copies of lists.
This commit is contained in:
@@ -229,7 +229,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
uint x = 0, y = 0;
|
||||
List<string> simulatorList = new List<string>();
|
||||
foreach (ulong regionHandle in presence.KnownChildRegionHandles)
|
||||
foreach (ulong regionHandle in presence.KnownRegionHandles)
|
||||
{
|
||||
if (regionHandle != m_regionInfo.RegionHandle)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user