diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 8ef22bd..1ad5edd 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -740,7 +740,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
740 | // | 740 | // |
741 | // Out of memory | 741 | // Out of memory |
742 | // Operating system has killed the plugin | 742 | // Operating system has killed the plugin |
743 | m_sceneGraph.UnRecoverableError += RestartNow; | 743 | m_sceneGraph.UnRecoverableError |
744 | += () => | ||
745 | { | ||
746 | m_log.ErrorFormat("[SCENE]: Restarting region {0} due to unrecoverable physics crash", Name); | ||
747 | RestartNow(); | ||
748 | }; | ||
744 | 749 | ||
745 | RegisterDefaultSceneEvents(); | 750 | RegisterDefaultSceneEvents(); |
746 | 751 | ||