pderop opened a new pull request, #612: URL: https://github.com/apache/felix-dev/pull/612
Motivation: When a dependency is removed from an adapter, aspect or factory component with several instances, only the copy of the last instance was remembered, and it was removed from the first instance. That instance stopped a dependency it did not own, and the other instances kept theirs. The copies of removed instances also remained referenced by the decorator. Modification: Remember the dependency copy of each instance and remove from each instance its own copy. Forget the copies of an instance once it is no longer instantiated. Factory configuration deletions are now handled in the decorator queue, like updates. Result: Removing a dependency from a decorator removes it from every instance, and removed instances are no longer referenced. -- 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]
