aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-07 22:59:30 +0000
committerJustin Clarke Casey2008-05-07 22:59:30 +0000
commitbe02107ea88885f377176937d7cbf5ec1b285c42 (patch)
tree22c3b557208e677cca493bedc845aa2a64d28b7d /OpenSim/Region/Environment/Scenes/ScenePresence.cs
parent* Temporary fix for Mantis 1177. (diff)
downloadopensim-SC-be02107ea88885f377176937d7cbf5ec1b285c42.zip
opensim-SC-be02107ea88885f377176937d7cbf5ec1b285c42.tar.gz
opensim-SC-be02107ea88885f377176937d7cbf5ec1b285c42.tar.bz2
opensim-SC-be02107ea88885f377176937d7cbf5ec1b285c42.tar.xz
* Increasing ScenePresences locking to prevent race conditions such as those seen in one of the crashes of mantis 1163
* It's not impossible that this could lead to deadlock where sessions simply appear to freeze, even though the region console still responds. * If this is the case, please file a mantis
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 052b85a..3554289 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -1506,6 +1506,7 @@ namespace OpenSim.Region.Environment.Scenes
1506 foreach (ScenePresence avatar in avatars) 1506 foreach (ScenePresence avatar in avatars)
1507 { 1507 {
1508 SendFullUpdateToOtherClient(avatar); 1508 SendFullUpdateToOtherClient(avatar);
1509
1509 if (avatar.LocalId != LocalId) 1510 if (avatar.LocalId != LocalId)
1510 { 1511 {
1511 if (!avatar.m_isChildAgent || m_scene.m_seeIntoRegionFromNeighbor) 1512 if (!avatar.m_isChildAgent || m_scene.m_seeIntoRegionFromNeighbor)