You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2015/11/11 13:58:10 UTC
[4/7] celix git commit: CELIX-272: Remove unneeded
ungetServiceReference from shell
CELIX-272: Remove unneeded ungetServiceReference from shell
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/5fbd1f5d
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/5fbd1f5d
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/5fbd1f5d
Branch: refs/heads/feature/CELIX-272_synchronization_service_registry
Commit: 5fbd1f5d2fe2a7f3ecb1c2f44eb6bbcdd995e29f
Parents: a0926be
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Wed Nov 11 13:23:15 2015 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Wed Nov 11 13:23:15 2015 +0100
----------------------------------------------------------------------
shell/private/src/shell.c | 5 -----
1 file changed, 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/5fbd1f5d/shell/private/src/shell.c
----------------------------------------------------------------------
diff --git a/shell/private/src/shell.c b/shell/private/src/shell.c
index d4fe9cc..378d614 100644
--- a/shell/private/src/shell.c
+++ b/shell/private/src/shell.c
@@ -176,11 +176,6 @@ celix_status_t shell_removeCommand(shell_pt shell_ptr, service_reference_pt refe
status = sub_status;
}
- sub_status = bundleContext_ungetServiceReference(shell_ptr->bundle_context_ptr, reference_ptr);
- if (sub_status != CELIX_SUCCESS && status == CELIX_SUCCESS) {
- status = sub_status;
- }
-
return status;
}