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)
connector_plugin
Justin Clark-Casey (justincc) 2012-11-23 01:01:39 +00:00
parent 3b2caa63b0
commit 61808d148e
1 changed files with 7 additions and 0 deletions

View File

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