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

def end(self):

    all_findings = kb.kb.get_all_findings()
    for (url, variable, mutant, id_list) in self._potential_vulns:
        for info in all_findings:
            if ((info.get_token_name() == variable) and (info.get_url() == url)):
                break
        else:
            desc = 'An    unhandled    error,    which    could    potentially    translate    to    a    vulnerability,    was    found    at:    %s'
            desc %= mutant.found_at()
            v = Vuln.from_mutant('Unhandled    error    in    web    application', desc, severity.LOW, id_list, self.get_name(), mutant)
            self.kb_append_uniq(self, 'generic', v)
    self._potential_vulns.cleanup()
