Skip to content

Commit

Permalink
mention that it only works on Perl 5.14+
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 30, 2015
1 parent a8dbeab commit b319b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Pg/Database.pm
Expand Up @@ -14,7 +14,7 @@ has [qw(dbh pg)];
sub DESTROY {
my $self = shift;

# Global destruction
# Supported on Perl 5.14+
return if defined(${^GLOBAL_PHASE}) && ${^GLOBAL_PHASE} eq 'DESTRUCT';

my $waiting = $self->{waiting};
Expand Down

0 comments on commit b319b70

Please sign in to comment.