```ruby
def destroy
  names = get_names
  names.each_with_index do |name, i|
    begin
       vsctl('del-port', @resource[:bridges][i], name)
    rescue
       raise Puppet::ExecutionFailure, "Can't remove patch '#{name}' from bridge '#{@resource[:bridges][i]}':\n#{error}"
    end
end