'This method is called when the plugin wont be used anymore.'

def end(self):

    all_findings = kb.kb.get_all_findings()
    for (title, desc, _id, url, highlight) in self._potential_vulns:
        for info in all_findings:
            if (info.get_url() == url):
                break
        else:
            i = Info(title, desc, _id, self.get_name())
            i.set_url(url)
            i.add_to_highlight(highlight)
            self.kb_append_uniq(self, 'error_page', i)
    self._potential_vulns.cleanup()
