projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94a87dc
)
Shut down on END instead of DESTROY.
author
David E. Wheeler
<david@justatheory.com>
Fri, 19 Oct 2012 18:53:50 +0000
(11:53 -0700)
committer
David E. Wheeler
<david@justatheory.com>
Fri, 19 Oct 2012 18:53:50 +0000
(11:53 -0700)
t/BucardoTesting.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/BucardoTesting.pm
b/t/BucardoTesting.pm
index fcb6026abade32146a540a6e463b809388c666d7..bc85baf4b3aa872fa8835e30dcfbc3ec6475715a 100644
(file)
--- a/
t/BucardoTesting.pm
+++ b/
t/BucardoTesting.pm
@@
-1260,9
+1260,8
@@
sub empty_test_database {
} ## end of empty_test_database
-DESTROY {
- my $self = shift;
- $self->shutdown_cluster($_) for keys %pgver;
+END {
+ __PACKAGE__->shutdown_cluster($_) for keys %pgver;
}
sub shutdown_cluster {