[ https://issues.apache.org/jira/browse/ARIES-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783721#comment-17783721 ]
ASF subversion and git services commented on ARIES-2106: -------------------------------------------------------- Commit 51becafa4df52ea5f644eb4bb2e1147e5d78774d in aries's branch refs/heads/trunk from JB Onofré [ https://gitbox.apache.org/repos/asf?p=aries.git;h=51becafa4 ] ARIES-2106: fix memory leak when bundle is unloaded > 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 > Affects Versions: spifly-1.3.6 > Reporter: Chris Rankin > Assignee: Jean-Baptiste Onofré > Priority: Major > Labels: MemoryLeak, memory-leak > Fix For: spifly-1.3.7 > > > 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)