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 2019/09/11 21:20:50 UTC

[celix] branch develop updated: Fixes an deadlock issue in the dm

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

pnoltes pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/develop by this push:
     new 8f1bc79  Fixes an deadlock issue in the dm
8f1bc79 is described below

commit 8f1bc791e6d5dd035222c3e784550032f46a2fb5
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Wed Sep 11 23:19:44 2019 +0200

    Fixes an deadlock issue in the dm
---
 libs/framework/src/dm_dependency_manager_impl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libs/framework/src/dm_dependency_manager_impl.c b/libs/framework/src/dm_dependency_manager_impl.c
index f63eaf3..77e581f 100644
--- a/libs/framework/src/dm_dependency_manager_impl.c
+++ b/libs/framework/src/dm_dependency_manager_impl.c
@@ -173,7 +173,6 @@ static void celix_dm_allComponentsActiveCallback(void *handle, const celix_bundl
     if (!allActive) {
         *allActivePtr = false;
     }
-    celixThreadMutex_lock(&mng->mutex);
 }
 
 bool celix_dependencyManager_allComponentsActive(celix_dependency_manager_t *manager) {
@@ -288,4 +287,4 @@ celix_status_t dependencyManager_getInfo(celix_dependency_manager_t *manager, dm
 
 void dependencyManager_destroyInfo(celix_dependency_manager_t *manager, celix_dependency_manager_info_t *info) {
     celix_dependencyManager_destroyInfo(manager, info);
-}
\ No newline at end of file
+}