[ https://issues.apache.org/jira/browse/CELIX-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085230#comment-15085230 ]
Bjoern Petri commented on CELIX-312: ------------------------------------ Took a bit longer, but I applied your patch - thanks for your work! Please close if okay. > ServiceReference usage counter inconsistent state > ------------------------------------------------- > > Key: CELIX-312 > URL: https://issues.apache.org/jira/browse/CELIX-312 > Project: Celix > Issue Type: Bug > Components: Dependency Manager, Framework, Shell Textual User > Interface > Reporter: Gabriele Ricciardi > Attachments: sr_count.patch > > > While running the dm_example, the output reported inconsistent usage counter > state for service references during the shutdown phase. > That was caused by > - Missing ungetService* calls in the shell_tui stop > - Wrong check in the service_registry (log output was not consistent) > - Missing ungetService in dm_service_dependency > Attached patch that fixes the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)