diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 52b9bc1..b04e882 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1478,6 +1478,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
1478 | /// </summary> | 1478 | /// </summary> |
1479 | public override void Update() | 1479 | public override void Update() |
1480 | { | 1480 | { |
1481 | // Check that the group was not deleted before the scheduled update | ||
1482 | // FIXME: This is merely a temporary measure to reduce the incidence of failure when | ||
1483 | // an object has been deleted from a scene before update was processed. | ||
1484 | // A more fundamental overhaul of the update mechanism is required to eliminate all | ||
1485 | // the race conditions. | ||
1486 | if (m_isDeleted) | ||
1487 | return; | ||
1481 | 1488 | ||
1482 | lock (m_parts) | 1489 | lock (m_parts) |
1483 | { | 1490 | { |