diff options
author | Justin Clark-Casey (justincc) | 2012-02-03 23:04:26 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-03 23:04:26 +0000 |
commit | ce34b359ad0254b6b4f460e2740e1a1ed30c456b (patch) | |
tree | de8031f3cc707d9ae910f7f41c62bc823f4c7a22 /OpenSim/Framework/EventData.cs | |
parent | Refactor common deserialization processor code to generic method ExternalRepr... (diff) | |
download | opensim-SC_OLD-ce34b359ad0254b6b4f460e2740e1a1ed30c456b.zip opensim-SC_OLD-ce34b359ad0254b6b4f460e2740e1a1ed30c456b.tar.gz opensim-SC_OLD-ce34b359ad0254b6b4f460e2740e1a1ed30c456b.tar.bz2 opensim-SC_OLD-ce34b359ad0254b6b4f460e2740e1a1ed30c456b.tar.xz |
Extend m_avatars lock in NpcModule.CreateNPC over both creation of NPC scene presence and population of m_avatars.
This is required to stop a race where the SensorRepeat module can detect an NPC avatar before m_avatars is populated.
Extending the lock is the easiest to understand solution rather than getting complicated with null checks.
Hopefully resolves http://opensimulator.org/mantis/view.php?id=5872
Diffstat (limited to 'OpenSim/Framework/EventData.cs')
0 files changed, 0 insertions, 0 deletions