# File lib/rubyrep/proxy_connection.rb, line 236
    def destroy
      cursors.each_key do |cursor|
        cursor.destroy
      end
      cursors.clear

      if connection.log_subscriber
        ActiveSupport::Notifications.notifier.unsubscribe connection.log_subscriber
        connection.log_subscriber = nil
      end

      self.connection.disconnect!
    end