You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by "pnoltes (via GitHub)" <gi...@apache.org> on 2023/05/01 16:56:15 UTC

Re: [PR] Some module layer fixes (celix)

pnoltes commented on code in PR #529:
URL: https://github.com/apache/celix/pull/529#discussion_r1181718179


##########
libs/framework/src/celix_libloader.c:
##########
@@ -29,9 +29,9 @@ celix_library_handle_t* celix_libloader_open(celix_bundle_context_t *ctx, const
 #endif
     celix_library_handle_t* handle = NULL;
     bool noDelete = celix_bundleContext_getPropertyAsBool(ctx, CELIX_LOAD_BUNDLES_WITH_NODELETE, defaultNoDelete);
-    int flags = RTLD_LAZY|RTLD_LOCAL;
+    int flags = RTLD_NOW|RTLD_LOCAL;

Review Comment:
   I agree with the change. I think we added the LAZY because it was needed when the dependency manager was a separate library, but this should not be an issue anymore. 



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@celix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org