diff options
Diffstat (limited to '')
-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 89e3ac5..a88e86d 100644 --- a/OpenSim/Region/Framework/Scenes/SceneManager.cs +++ b/OpenSim/Region/Framework/Scenes/SceneManager.cs | |||
@@ -138,6 +138,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
138 | 138 | ||
139 | public void Close() | 139 | public void Close() |
140 | { | 140 | { |
141 | lock (m_localScenes) | ||
142 | { | ||
143 | for (int i = 0; i < m_localScenes.Count; i++) | ||
144 | { | ||
145 | m_localScenes[i].Close(); | ||
146 | } | ||
147 | } | ||
141 | } | 148 | } |
142 | 149 | ||
143 | public void Close(Scene cscene) | 150 | public void Close(Scene cscene) |