aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-08-22 06:29:54 +0100
committerUbitUmarov2016-08-22 06:29:54 +0100
commit3ffb6e8120b99dc46154b79e597649c93d962311 (patch)
tree82970a78d08a8265cbe05dcd7c0de2f397fa85ef
parentworkaround potencial memory leak (diff)
downloadopensim-SC_OLD-3ffb6e8120b99dc46154b79e597649c93d962311.zip
opensim-SC_OLD-3ffb6e8120b99dc46154b79e597649c93d962311.tar.gz
opensim-SC_OLD-3ffb6e8120b99dc46154b79e597649c93d962311.tar.bz2
opensim-SC_OLD-3ffb6e8120b99dc46154b79e597649c93d962311.tar.xz
minor locking issue
-rw-r--r--OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs
index 6e43cf8..89baf94 100644
--- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs
+++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs
@@ -121,9 +121,9 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
121 121
122 CacheExpire = TimeSpan.FromHours(fcache); 122 CacheExpire = TimeSpan.FromHours(fcache);
123 123
124 if(doMeshFileCache && cachePath != "") 124 lock (diskLock)
125 { 125 {
126 lock (diskLock) 126 if(doMeshFileCache && cachePath != "")
127 { 127 {
128 try 128 try
129 { 129 {