use wl_list_for_each_safe to iterate on the bindings list when firing them, this way a binding can safely be destroyed in its function handler. Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>