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


##########
libs/framework/src/framework.c:
##########
@@ -1543,6 +1568,9 @@ bool celix_framework_useBundle(framework_t *fw, bool 
onlyActive, long bundleId,
                                                                                
                               bundleId);
 
         if (entry != NULL) {
+            if (onlyActive) {

Review Comment:
   Thanks, clear for me now.
   
   I do think the useActiveBundle doxygen should state that the framework 
ensures a bundle state cannot changed during the callback. This is already 
mentioned implicitly (through to the @warning), but maybe mention this more 
explicit.



-- 
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-unsubscr...@celix.apache.org

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

Reply via email to