Loading
service: do not abandon an optical connection whose first handler is not its own
get_service_handlers() returns one entry per device type on the path, and deconfiguring stops after the first so that a second pass does not try to remove media channels that are already gone. Stopping unconditionally, however, also stopped when the first handler did not own the connection's media channel: DeleteEndpoint was skipped, delete_connection was never reached, and the connection outlived its service. Deleting that service then failed on the connection_service_uuid foreign key. It now stops once a handler has actually deleted the connection and otherwise moves on to the next one, which is how the loop behaved before the early exit was introduced.