diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Asset')
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index d09f5ef..35713ad 100644 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | |||
@@ -231,7 +231,7 @@ namespace Flotsam.RegionModules.AssetCache | |||
231 | 231 | ||
232 | private void UpdateMemoryCache(string key, AssetBase asset) | 232 | private void UpdateMemoryCache(string key, AssetBase asset) |
233 | { | 233 | { |
234 | if( m_MemoryCacheEnabled ) | 234 | if (m_MemoryCacheEnabled) |
235 | { | 235 | { |
236 | if (m_MemoryExpiration > TimeSpan.Zero) | 236 | if (m_MemoryExpiration > TimeSpan.Zero) |
237 | { | 237 | { |
@@ -405,7 +405,7 @@ namespace Flotsam.RegionModules.AssetCache | |||
405 | File.Delete(filename); | 405 | File.Delete(filename); |
406 | } | 406 | } |
407 | 407 | ||
408 | if( m_MemoryCacheEnabled ) | 408 | if (m_MemoryCacheEnabled) |
409 | m_MemoryCache.Remove(id); | 409 | m_MemoryCache.Remove(id); |
410 | } | 410 | } |
411 | catch (Exception e) | 411 | catch (Exception e) |
@@ -424,7 +424,7 @@ namespace Flotsam.RegionModules.AssetCache | |||
424 | Directory.Delete(dir); | 424 | Directory.Delete(dir); |
425 | } | 425 | } |
426 | 426 | ||
427 | if( m_MemoryCacheEnabled ) | 427 | if (m_MemoryCacheEnabled) |
428 | m_MemoryCache.Clear(); | 428 | m_MemoryCache.Clear(); |
429 | } | 429 | } |
430 | 430 | ||