if (class->destroy_listeners) {
for (i = class->destroy_listeners->len - 1; i >= 0; i--) {
struct bt_component_class_destroy_listener *listener =
if (class->destroy_listeners) {
for (i = class->destroy_listeners->len - 1; i >= 0; i--) {
struct bt_component_class_destroy_listener *listener =