pnoltes commented on code in PR #569:
URL: https://github.com/apache/celix/pull/569#discussion_r1232154400
##########
examples/celix-examples/track_tracker_example/src/activator.c:
##########
@@ -86,7 +86,7 @@ celix_status_t activator_start(activator_data_t* act,
celix_bundle_context_t *ct
act->svc.handle = act;
act->svc.calc = calc;
//note only triggers on calcTrk1, because of filter restrictions
- act->svcId = celix_bundleContext_registerService(ctx, &act->svc,
CALC_SERVICE_NAME, NULL);
+ act->svcId = celix_bundleContext_registerServiceAsync(ctx, &act->svc,
CALC_SERVICE_NAME, NULL);
Review Comment:
IMO no revert is needed. I am just double checking. IMO if
registerServiceAsync is possible, it is preferred.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]