From a888dbc60afa5b5e2510352c94fc4778b8a09102 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 29 Sep 2008 15:40:16 +0000 Subject: * Fix http://opensimulator.org/mantis/view.php?id=2189 for real this time * Ignore any exception encountered during shutdown rather than aborting the quit command --- OpenSim/Region/Application/OpenSimBase.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 63c9a63..445fba0 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -747,7 +747,14 @@ namespace OpenSim // TODO: implement this m_log.Info("[SHUTDOWN]: Closing console and terminating"); - m_sceneManager.Close(); + try + { + m_sceneManager.Close(); + } + catch (Exception e) + { + m_log.ErrorFormat("[SHUTDOWN]: Ignoring failure during shutdown - {0}", e); + } base.Shutdown(); } -- cgit v1.1