diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneManager.cs | 7 | ||||
-rw-r--r-- | prebuild.xml | 1 |
2 files changed, 8 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) |
diff --git a/prebuild.xml b/prebuild.xml index d99da2b..7fff2e0 100644 --- a/prebuild.xml +++ b/prebuild.xml | |||
@@ -1488,6 +1488,7 @@ | |||
1488 | <Reference name="OpenMetaverse.StructuredData" path="../../bin/"/> | 1488 | <Reference name="OpenMetaverse.StructuredData" path="../../bin/"/> |
1489 | <Reference name="OpenSim.Framework"/> | 1489 | <Reference name="OpenSim.Framework"/> |
1490 | <Reference name="OpenSim.Framework.Console"/> | 1490 | <Reference name="OpenSim.Framework.Console"/> |
1491 | <Reference name="OpenSim.Framework.Servers"/> | ||
1491 | <Reference name="OpenSim.Framework.Servers.HttpServer"/> | 1492 | <Reference name="OpenSim.Framework.Servers.HttpServer"/> |
1492 | <Reference name="OpenSim.Server.Base"/> | 1493 | <Reference name="OpenSim.Server.Base"/> |
1493 | <Reference name="Nini" path="../../bin/"/> | 1494 | <Reference name="Nini" path="../../bin/"/> |