pderop opened a new pull request, #615:
URL: https://github.com/apache/felix-dev/pull/615

   Motivation:
   
   When the "org.apache.felix.dependencymanager.parallel" property is set, 
components are kept pending until a ComponentExecutorFactory is bound. remove() 
was not serialized with bind(): a component removed while bind() was processing 
it was started afterwards, and stayed started.
   
   Modification:
   
   Run remove() in the same serial executor as add() and bind(), and wait for 
its completion, so that remove() still returns once the component is stopped.
   
   Result:
   
   A component removed while a ComponentExecutorFactory is being bound is 
stopped when remove() returns, and is no longer left started.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to