X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCluster.pm;h=aee8fe4d94a0c6a0e1c192fb1d94d836b705edd1;hb=d9db74c1b2b9b57cb6d31e8c8c425f3636f62f87;hp=021ff7f270875b3e0ea2cbab2e11609bc8c2e43e;hpb=5ed3964b50ca394ae47d335b70bc8282c037fe77;p=spider.git diff --git a/perl/DXCluster.pm b/perl/DXCluster.pm index 021ff7f2..aee8fe4d 100644 --- a/perl/DXCluster.pm +++ b/perl/DXCluster.pm @@ -136,12 +136,6 @@ sub cluster return " $DXNode::nodes nodes, $users local / $tot total users Max users $DXNode::maxusers Uptime $uptime"; } -sub DESTROY -{ - my $self = shift; - dbg('cluster', "destroying $self->{call}\n"); -} - no strict; sub AUTOLOAD { @@ -303,5 +297,13 @@ sub dolist { } + +sub DESTROY +{ + my $self = shift; + undef $self->{list} if $self->{list}; +} + + 1; __END__