pnoltes commented on a change in pull request #265:
URL: https://github.com/apache/celix/pull/265#discussion_r448807194
##########
File path: libs/framework/src/dm_dependency_manager_impl.c
##########
@@ -173,7 +174,8 @@ static void celix_dm_getInfosCallback(void *handle, const celix_bundle_t
*bnd) {
celix_array_list_t * celix_dependencyManager_createInfos(celix_dependency_manager_t *manager)
{
celix_array_list_t *infos = celix_arrayList_create();
- celix_bundleContext_useBundles(manager->ctx, infos, celix_dm_getInfosCallback);
+ celix_framework_t* fw = celix_bundleContext_getFramework(manager->ctx);
Review comment:
In de pubsub deadlock test the dependency manager is used from the framework bundle
context. This works, but the 'dm' shell command was not printing info about the dm stuff of
the framework.
This changes fixes that (using a useBundles call which includes the framework "bundle".
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
|