[ 
https://issues.apache.org/jira/browse/FELIX-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532214#comment-13532214
 ] 

Guillaume Nodet commented on FELIX-3823:
----------------------------------------

No, the framework unregisters services *after* the context has been 
invalidated, because services can still be registered while the bundle is 
stopping.
I agree i doubt it will be used by anyone, but I'm doing some robustness load 
testing on Karaf and it helps diagnosing problems when bundles cleanly 
unregister services.
                
> ConfigAdmin should explicitely unregister services
> --------------------------------------------------
>
>                 Key: FELIX-3823
>                 URL: https://issues.apache.org/jira/browse/FELIX-3823
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Minor
>
> It's really a minor issue, but it's cleaner to have bundles explicitly 
> unregister its own services, in case other bundles want to react before the 
> BundleContext is invalidated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to