diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneManager.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneManager.cs b/OpenSim/Region/Framework/Scenes/SceneManager.cs index 9bd27d3..1c236db 100644 --- a/OpenSim/Region/Framework/Scenes/SceneManager.cs +++ b/OpenSim/Region/Framework/Scenes/SceneManager.cs | |||
@@ -141,6 +141,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
141 | 141 | ||
142 | public void Close() | 142 | public void Close() |
143 | { | 143 | { |
144 | lock (m_localScenes) | ||
145 | { | ||
146 | for (int i = 0; i < m_localScenes.Count; i++) | ||
147 | { | ||
148 | m_localScenes[i].Close(); | ||
149 | } | ||
150 | } | ||
144 | } | 151 | } |
145 | 152 | ||
146 | public void Close(Scene cscene) | 153 | public void Close(Scene cscene) |