mirror of
https://github.com/opensim/opensim.git
synced 2026-05-25 19:25:41 +08:00
* Removed more locks on Entities
* Entities should now in theory be lock-free externally. * Other properties may cause blocking however[?]. * ScenePresence maintains separate locks so isn't fixed by this commit.
This commit is contained in:
@@ -788,10 +788,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
}
|
||||
|
||||
EntityBase SensedObject;
|
||||
lock (World.Entities)
|
||||
{
|
||||
World.Entities.TryGetValue(objecUUID, out SensedObject);
|
||||
}
|
||||
World.Entities.TryGetValue(objecUUID, out SensedObject);
|
||||
|
||||
if (SensedObject == null)
|
||||
return String.Empty;
|
||||
|
||||
Reference in New Issue
Block a user