svn commit: r1932411 - spamassassin/trunk/lib/Mail/SpamAssassin/Plugin

[email protected]
Newsgroups gmane.mail.spam.spamassassin.cvs
Message-ID <177401417709.289231.13443172074857262205@svn02-us-east.apache.org>
Author: gbechis
Date: Fri Mar 20 13:42:56 2026
New Revision: 1932411

Log:
fix destroy method

Modified:
   spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/NeuralNetwork.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/NeuralNetwork.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/NeuralNetwork.pm	Fri Mar 20 12:45:01 2026	(r1932410)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/NeuralNetwork.pm	Fri Mar 20 13:42:56 2026	(r1932411)
@@ -110,8 +110,9 @@ sub _flock {
   return $fh;
 }
 
-sub DESTROY {
-  my ($self) = @_;
+sub finish {
+  my $self = shift;
+
   if(defined $self->{_lock_fh}) {
     for my $path (keys %{$self->{_lock_fh}}) {
       close(delete $self->{_lock_fh}{$path});
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.