diff options
author | gareth | 2007-04-02 02:36:00 +0000 |
---|---|---|
committer | gareth | 2007-04-02 02:36:00 +0000 |
commit | 4b47728b5dbe11cbaa9ecf27ff6cf0b4d194f1ab (patch) | |
tree | 1540d22278baa1d7154bf1c8ce6ff5d3038e8d49 /OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs | |
parent | Moved grid configuration to Db4o database (diff) | |
download | opensim-SC_OLD-4b47728b5dbe11cbaa9ecf27ff6cf0b4d194f1ab.zip opensim-SC_OLD-4b47728b5dbe11cbaa9ecf27ff6cf0b4d194f1ab.tar.gz opensim-SC_OLD-4b47728b5dbe11cbaa9ecf27ff6cf0b4d194f1ab.tar.bz2 opensim-SC_OLD-4b47728b5dbe11cbaa9ecf27ff6cf0b4d194f1ab.tar.xz |
Fixed loading problem
Diffstat (limited to '')
-rw-r--r-- | OpenGrid.Config/GridConfigDb4o/DbGridConfig.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
84 | LoadDefaults(); | 84 | LoadDefaults(); |
85 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Writing out default settings to local database"); | 85 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Writing out default settings to local database"); |
86 | db.Set(this); | 86 | db.Set(this); |
87 | db.Close(); | ||
87 | } | 88 | } |
88 | } catch(Exception e) { | 89 | } catch(Exception e) { |
89 | db.Close(); | ||
90 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Config.cs:InitConfig() - Exception occured"); | 90 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Config.cs:InitConfig() - Exception occured"); |
91 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(e.ToString()); | 91 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(e.ToString()); |
92 | } | 92 | } |