aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
index 169412e..a1803c1 100644
--- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
+++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
@@ -344,12 +344,7 @@ namespace OpenSim.Region.CoreModules.Asset
344 344
345 private bool CheckFromMemoryCache(string id) 345 private bool CheckFromMemoryCache(string id)
346 { 346 {
347 AssetBase asset = null; 347 return m_MemoryCache.Contains(id);
348
349 if (m_MemoryCache.TryGetValue(id, out asset))
350 return true;
351
352 return false;
353 } 348 }
354 349
355 /// <summary> 350 /// <summary>