Ensure BundleListeners are not forgotten about
----------------------------------------------

                 Key: FELIX-887
                 URL: https://issues.apache.org/jira/browse/FELIX-887
             Project: Felix
          Issue Type: Improvement
          Components: Bundle Repository (OBR)
    Affects Versions: bundlerepository-1.2.0
            Reporter: Felix Meschberger


As discussed in FELIX-884, the LocalRepositoryImpl class registers a 
BundleListener, which is only unregistered if the resovle() method of the 
owning ResovlerImpl is called. But this just creates anothter BundleListener. 
If multiple ResolverImpl instances are created, the system will fill up with  
BundleListener instances, which will never be used again and only be cleaned 
up, when the OBR bundle is stopped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to