diff options
author | UbitUmarov | 2016-12-29 03:25:12 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-29 03:25:12 +0000 |
commit | c78da183b233f80ba436f677ecbbe32a477bd676 (patch) | |
tree | ce178d7f54a146a5d7f05d545fd7c972e9a37d44 /OpenSim/Region/CoreModules/Asset | |
parent | forgot one gc.collect wait for finalizers (diff) | |
download | opensim-SC_OLD-c78da183b233f80ba436f677ecbbe32a477bd676.zip opensim-SC_OLD-c78da183b233f80ba436f677ecbbe32a477bd676.tar.gz opensim-SC_OLD-c78da183b233f80ba436f677ecbbe32a477bd676.tar.bz2 opensim-SC_OLD-c78da183b233f80ba436f677ecbbe32a477bd676.tar.xz |
expire also from weak references
Diffstat (limited to 'OpenSim/Region/CoreModules/Asset')
-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 | { |