Skip to content

Commit

Permalink
Merge pull request #755 from apache/hotfix/coverity-fix
Browse files Browse the repository at this point in the history
Hotfix/[CID 392574]: Destroy held lock.
  • Loading branch information
PengZheng authored Jun 23, 2024
2 parents 63683c0 + 049efdd commit f16b2d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bundles/shell/remote_shell/src/shell_mediator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f16b2d0

Please sign in to comment.