From dc3798ddc3ad5d3d6c7de0d46cbe669919298c3b Mon Sep 17 00:00:00 2001 From: "Teravus Ovares (Dan Olivares)" Date: Thu, 10 Sep 2009 00:31:14 -0400 Subject: [PATCH] * Another Timer lock --- OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index 6b0af6d980..d85d3dfd2d 100644 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs @@ -167,7 +167,10 @@ namespace Flotsam.RegionModules.AssetCache } else { - m_CachCleanTimer.Enabled = false; + lock (m_CachCleanTimer) + { + m_CachCleanTimer.Enabled = false; + } } m_CacheDirectoryTiers = assetConfig.GetInt("CacheDirectoryTiers", 1);