This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch hotfix/double-dlclose
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/hotfix/double-dlclose by this
push:
new 54b01ebb Fix #501: celix_bundleActivator_start fails silently.
54b01ebb is described below
commit 54b01ebb0f0a6c2ac0a7ed3eeb3e43b7aadb1089
Author: PengZheng <[email protected]>
AuthorDate: Fri Apr 28 18:00:51 2023 +0800
Fix #501: celix_bundleActivator_start fails silently.
---
libs/framework/src/framework.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/framework/src/framework.c b/libs/framework/src/framework.c
index 3405a629..97660a88 100644
--- a/libs/framework/src/framework.c
+++ b/libs/framework/src/framework.c
@@ -2274,7 +2274,7 @@ celix_status_t
celix_framework_startBundleEntry(celix_framework_t* framework, ce
bundle_setActivator(bndEntry->bnd, NULL);
bundleContext_destroy(context);
free(activator);
- status = bundle_setState(bndEntry->bnd,
CELIX_BUNDLE_STATE_RESOLVED);
+ (void)bundle_setState(bndEntry->bnd,
CELIX_BUNDLE_STATE_RESOLVED);
}
}
}