diff options
author | Brian McBee | 2007-08-29 01:50:59 +0000 |
---|---|---|
committer | Brian McBee | 2007-08-29 01:50:59 +0000 |
commit | f1be2833786dc0b9ff73a8af68595ba530968761 (patch) | |
tree | a1c3c95b2c079adeb0adae6799477fab798e76f4 /OpenSim/Framework/Configuration/XML/XmlConfiguration.cs | |
parent | Partial fix for corner-handle prim resize bug. Doesn't work correctly with li... (diff) | |
download | opensim-SC-f1be2833786dc0b9ff73a8af68595ba530968761.zip opensim-SC-f1be2833786dc0b9ff73a8af68595ba530968761.tar.gz opensim-SC-f1be2833786dc0b9ff73a8af68595ba530968761.tar.bz2 opensim-SC-f1be2833786dc0b9ff73a8af68595ba530968761.tar.xz |
Attempt to fix bug on linux where estate_settings.xml gets wiped.
Diffstat (limited to 'OpenSim/Framework/Configuration/XML/XmlConfiguration.cs')
-rw-r--r-- | OpenSim/Framework/Configuration/XML/XmlConfiguration.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs index ffb24ff..1254228 100644 --- a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs +++ b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs | |||
@@ -125,7 +125,10 @@ namespace OpenSim.Framework.Configuration | |||
125 | Directory.CreateDirectory(Util.configDir()); | 125 | Directory.CreateDirectory(Util.configDir()); |
126 | } | 126 | } |
127 | 127 | ||
128 | doc.Save(fileName); | 128 | lock(this) |
129 | { | ||
130 | doc.Save(fileName); | ||
131 | } | ||
129 | } | 132 | } |
130 | 133 | ||
131 | public void Close() | 134 | public void Close() |