Fix regression where we stopped closing scenes on simulator exit.

If we don't do this, then these scenes don't get deregistered from the grid, amongst other things.
Regression was introduced in commit 8c130bc (Mon Nov 12 22:50:28 2012 +0000)
This commit is contained in:
Justin Clark-Casey (justincc)
2012-11-23 01:01:39 +00:00
parent 3b2caa63b0
commit 61808d148e

View File

@@ -141,6 +141,13 @@ namespace OpenSim.Region.Framework.Scenes
public void Close()
{
lock (m_localScenes)
{
for (int i = 0; i < m_localScenes.Count; i++)
{
m_localScenes[i].Close();
}
}
}
public void Close(Scene cscene)