aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneViewer.cs
diff options
context:
space:
mode:
authorJonathan Freedman2010-10-10 18:06:27 -0400
committerJonathan Freedman2010-10-10 18:06:27 -0400
commit2654ab63001c0f102954ffec0c5317ee4dad33c4 (patch)
treee0fb933bc197cc5e71005897b7ecfb3055a4b4eb /OpenSim/Region/Framework/Scenes/SceneViewer.cs
parentMerge branch 'master' of git://opensimulator.org/git/opensim (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC-2654ab63001c0f102954ffec0c5317ee4dad33c4.zip
opensim-SC-2654ab63001c0f102954ffec0c5317ee4dad33c4.tar.gz
opensim-SC-2654ab63001c0f102954ffec0c5317ee4dad33c4.tar.bz2
opensim-SC-2654ab63001c0f102954ffec0c5317ee4dad33c4.tar.xz
Merge branch 'master' of git://opensimulator.org/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneViewer.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneViewer.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneViewer.cs b/OpenSim/Region/Framework/Scenes/SceneViewer.cs
index b45291f..b44a010 100644
--- a/OpenSim/Region/Framework/Scenes/SceneViewer.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneViewer.cs
@@ -179,11 +179,13 @@ namespace OpenSim.Region.Framework.Scenes
179 179
180 public void Reset() 180 public void Reset()
181 { 181 {
182 if (m_pendingObjects != null) 182 if (m_pendingObjects == null)
183 return;
184
185 lock (m_pendingObjects)
183 { 186 {
184 lock (m_pendingObjects) 187 if (m_pendingObjects != null)
185 { 188 {
186
187 m_pendingObjects.Clear(); 189 m_pendingObjects.Clear();
188 m_pendingObjects = null; 190 m_pendingObjects = null;
189 } 191 }