diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index 7bb88b9..e7f4981 100644 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | |||
@@ -580,6 +580,9 @@ namespace OpenSim.Region.CoreModules.Asset | |||
580 | 580 | ||
581 | if (m_MemoryCacheEnabled) | 581 | if (m_MemoryCacheEnabled) |
582 | m_MemoryCache.Remove(id); | 582 | m_MemoryCache.Remove(id); |
583 | |||
584 | lock(weakAssetReferencesLock) | ||
585 | weakAssetReferences.Remove(id); | ||
583 | } | 586 | } |
584 | catch (Exception e) | 587 | catch (Exception e) |
585 | { | 588 | { |