[ https://issues.apache.org/jira/browse/ARIES-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Rankin updated ARIES-2106: -------------------------------- Description: On unloading a bundle from the Felix framework, SPI-Fly correctly removes the {{{}WeavingData{}}}, but forgets also to remove the consumer restrictions: {code:java|title=org.apache.aries.spifly.BaseActivator} public void removeWeavingData(Bundle bundle) { bundleWeavingData.remove(bundle); + consumerRestrictions.remove(bundle); }{code} was: On unloading a bundle from the Felix framework, SPI-Fly correctly removes the `WeavingData` but forgets also to remove the consumer restrictions: {code:java|title=org.apache.aries.spifly.BaseActivator} public void removeWeavingData(Bundle bundle) { bundleWeavingData.remove(bundle); + consumerRestrictions.remove(bundle); }{code} > Memory leak in SPI-Fly when bundle is unloaded. > ----------------------------------------------- > > Key: ARIES-2106 > URL: https://issues.apache.org/jira/browse/ARIES-2106 > Project: Aries > Issue Type: Bug > Components: SPI Fly > Reporter: Chris Rankin > Priority: Major > Labels: MemoryLeak, memory-leak > > On unloading a bundle from the Felix framework, SPI-Fly correctly removes the > {{{}WeavingData{}}}, but forgets also to remove the consumer restrictions: > {code:java|title=org.apache.aries.spifly.BaseActivator} > public void removeWeavingData(Bundle bundle) { > bundleWeavingData.remove(bundle); > + consumerRestrictions.remove(bundle); > }{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)