This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch hotfix/coverity-fix
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 049efdd541fc6122a72c287d91e43b4f25dfdb3b
Author: PengZheng <howto...@gmail.com>
AuthorDate: Sun Jun 23 12:29:26 2024 +0800

    [CID 392574]: Destroy held lock.
---
 bundles/shell/remote_shell/src/shell_mediator.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/bundles/shell/remote_shell/src/shell_mediator.c 
b/bundles/shell/remote_shell/src/shell_mediator.c
index 636296031..5ad3e6212 100644
--- a/bundles/shell/remote_shell/src/shell_mediator.c
+++ b/bundles/shell/remote_shell/src/shell_mediator.c
@@ -85,8 +85,6 @@ celix_status_t shellMediator_stop(shell_mediator_pt instance) 
{
 celix_status_t shellMediator_destroy(shell_mediator_pt instance) {
        celix_status_t status = CELIX_SUCCESS;
 
-       celixThreadMutex_lock(&instance->mutex);
-
        instance->shellService = NULL;
        serviceTracker_destroy(instance->tracker);
     celix_logHelper_destroy(instance->loghelper);

Reply via email to