From 3ffb6e8120b99dc46154b79e597649c93d962311 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 22 Aug 2016 06:29:54 +0100 Subject: minor locking issue --- OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/PhysicsModules') 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 CacheExpire = TimeSpan.FromHours(fcache); - if(doMeshFileCache && cachePath != "") + lock (diskLock) { - lock (diskLock) + if(doMeshFileCache && cachePath != "") { try { -- cgit v1.1