minor locking issue

This commit is contained in:
UbitUmarov
2016-08-22 06:29:54 +01:00
parent 4f4227d5bb
commit 3ffb6e8120

View File

@@ -121,9 +121,9 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
CacheExpire = TimeSpan.FromHours(fcache);
if(doMeshFileCache && cachePath != "")
lock (diskLock)
{
lock (diskLock)
if(doMeshFileCache && cachePath != "")
{
try
{