minor: Make note in log if scene was restarted due to an unrecoverable physics error
parent
f473252fa8
commit
1f336579c8
|
@ -740,7 +740,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
//
|
//
|
||||||
// Out of memory
|
// Out of memory
|
||||||
// Operating system has killed the plugin
|
// Operating system has killed the plugin
|
||||||
m_sceneGraph.UnRecoverableError += RestartNow;
|
m_sceneGraph.UnRecoverableError
|
||||||
|
+= () =>
|
||||||
|
{
|
||||||
|
m_log.ErrorFormat("[SCENE]: Restarting region {0} due to unrecoverable physics crash", Name);
|
||||||
|
RestartNow();
|
||||||
|
};
|
||||||
|
|
||||||
RegisterDefaultSceneEvents();
|
RegisterDefaultSceneEvents();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue