expire also from weak references
parent
3a310d77c8
commit
c78da183b2
|
@ -580,6 +580,9 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||||
|
|
||||||
if (m_MemoryCacheEnabled)
|
if (m_MemoryCacheEnabled)
|
||||||
m_MemoryCache.Remove(id);
|
m_MemoryCache.Remove(id);
|
||||||
|
|
||||||
|
lock(weakAssetReferencesLock)
|
||||||
|
weakAssetReferences.Remove(id);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue