aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Configuration
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Configuration')
-rw-r--r--OpenSim/Framework/Configuration/XML/XmlConfiguration.cs5
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()