Cleaning up extensions on stop after error
------------------------------------------

                 Key: TUSCANY-3755
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3755
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-2.x, Java-SCA-1.x
         Environment: All
            Reporter: Simon Laws
             Fix For: Java-SCA-2.x, Java-SCA-1.x


I've noticed there is the following line in the 
CompositeActivatorImpl.stop(CompositeContext compositeContext, Component 
component) 

        if (!((RuntimeComponent)component).isStarted()) {
                return;
        }

If however a runtime fails on startup I believe there's a chance that 
extensions are not stopped properly depending on when they appear in the start 
up sequence. I'm raising this in order to review this process and either 
confirm that it's correct or proprose and enhancement

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