Alexis de Talhouët created ARIES-1634:
-----------------------------------------

             Summary: BlueprintContainer are leak when destroyed
                 Key: ARIES-1634
                 URL: https://issues.apache.org/jira/browse/ARIES-1634
             Project: Aries
          Issue Type: Bug
          Components: Blueprint
    Affects Versions: blueprint-core-1.4.2
         Environment: OSx
            Reporter: Alexis de Talhouët


When the BlueprintContainer is #destroy(), it is not unregistered from the OSGi 
registry hence is retained in the memory.

But when the BlueprintContainer is #quiesce() it is correctly unregistered from 
the OSGi registry.

The workaround it to first #quiesce() the container, then #destroy() it, so no 
service is retaining it, and it can be GC.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to