Skip to content

Commit

Permalink
remove warning about superfluous arguments in DEMOLISH
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfranck committed Aug 20, 2024
1 parent 4248abb commit eb789e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Catmandu/Store/DBI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ sub transaction ($self, $sub) {
@res;
}

sub DEMOLISH ($self) {
sub DEMOLISH ($self, $in_global_destruction) {
$self->{_dbh}->disconnect if $self->{_dbh};
}

Expand Down

0 comments on commit eb789e4

Please sign in to comment.