diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index d48dc11..0f39671 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1267,6 +1267,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
1267 | // This is the method that shuts down the scene. | 1267 | // This is the method that shuts down the scene. |
1268 | public override void Close() | 1268 | public override void Close() |
1269 | { | 1269 | { |
1270 | if (m_shuttingDown) | ||
1271 | { | ||
1272 | m_log.WarnFormat("[SCENE]: Ignoring close request because already closing {0}", Name); | ||
1273 | return; | ||
1274 | } | ||
1275 | |||
1270 | m_log.InfoFormat("[SCENE]: Closing down the single simulator: {0}", RegionInfo.RegionName); | 1276 | m_log.InfoFormat("[SCENE]: Closing down the single simulator: {0}", RegionInfo.RegionName); |
1271 | 1277 | ||
1272 | StatsReporter.Close(); | 1278 | StatsReporter.Close(); |