On startup, start scenes after we're set up all local scenes, rather than starting scenes before others have been created.

This aims to avoid a race condition where scenes could look to inform neighbours that they were up before those neighbours had been created.
http://opensimulator.org/mantis/view.php?id=6618
This commit is contained in:
Justin Clark-Casey (justincc)
2013-05-03 18:48:50 +01:00
parent 386d67ec61
commit 304c5d4a8b
6 changed files with 41 additions and 14 deletions

View File

@@ -425,9 +425,6 @@ namespace OpenSim
mscene = scene;
scene.Start();
scene.StartScripts();
return clientServers;
}
@@ -751,6 +748,7 @@ namespace OpenSim
ShutdownClientServer(whichRegion);
IScene scene;
CreateRegion(whichRegion, true, out scene);
scene.Start();
}
# region Setup methods