aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-12-29 03:25:12 +0000
committerUbitUmarov2016-12-29 03:25:12 +0000
commitc78da183b233f80ba436f677ecbbe32a477bd676 (patch)
treece178d7f54a146a5d7f05d545fd7c972e9a37d44 /OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
parentforgot one gc.collect wait for finalizers (diff)
downloadopensim-SC-c78da183b233f80ba436f677ecbbe32a477bd676.zip
opensim-SC-c78da183b233f80ba436f677ecbbe32a477bd676.tar.gz
opensim-SC-c78da183b233f80ba436f677ecbbe32a477bd676.tar.bz2
opensim-SC-c78da183b233f80ba436f677ecbbe32a477bd676.tar.xz
expire also from weak references
Diffstat (limited to 'OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs')
-rw-r--r--OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs3
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 {