Chris Rankin created ARIES-2106:
-----------------------------------

             Summary: 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


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)

Reply via email to