From 4b47728b5dbe11cbaa9ecf27ff6cf0b4d194f1ab Mon Sep 17 00:00:00 2001 From: gareth Date: Mon, 2 Apr 2007 02:36:00 +0000 Subject: Fixed loading problem --- OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenGrid.Config') diff --git a/OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs b/OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs index f3ad2cb..1084467 100644 --- a/OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs +++ b/OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs @@ -84,9 +84,9 @@ namespace OpenGrid.Config.GridConfigDb4o LoadDefaults(); OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Writing out default settings to local database"); db.Set(this); + db.Close(); } } catch(Exception e) { - db.Close(); OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Config.cs:InitConfig() - Exception occured"); OpenSim.Framework.Console.MainConsole.Instance.WriteLine(e.ToString()); } -- cgit v1.1