diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 88cda40..6b4f377 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -472,6 +472,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
472 | // This causes the region to restart immediatley. | 472 | // This causes the region to restart immediatley. |
473 | public void RestartNow() | 473 | public void RestartNow() |
474 | { | 474 | { |
475 | if (PhysicsScene != null) | ||
476 | { | ||
477 | PhysicsScene.Dispose(); | ||
478 | } | ||
479 | |||
475 | m_log.Error("[REGION]: Closing"); | 480 | m_log.Error("[REGION]: Closing"); |
476 | Close(); | 481 | Close(); |
477 | m_log.Error("[REGION]: Firing Region Restart Message"); | 482 | m_log.Error("[REGION]: Firing Region Restart Message"); |