small cleanup based on review comments
@@ -94,8 +94,6 @@ celix_status_t bundleContext_destroy(bundle_context_pt context) {
celix_arrayList_destroy(context->svcRegistrations);
hashMap_destroy(context->stoppingTrackerEventIds, false, false);
- //NOTE still present service registrations will be cleared during bundle stop in the
- //service registry (serviceRegistry_clearServiceRegistrations).
celixThreadMutex_destroy(&context->mutex);
if (context->mng != NULL) {
@@ -1386,10 +1384,6 @@ static long celix_bundleContext_trackServicesWithOptionsInternal(celix_bundle_co
}
return trackerId;
} else {
- if (!async) {
-
- }
-
celix_bundle_context_service_tracker_entry_t* entry = calloc(1, sizeof(*entry));
entry->ctx = ctx;
entry->createEventId = celix_framework_nextEventId(ctx->framework);
