fixed bad hashref slice
This commit is contained in:
parent
3e1f66a0e7
commit
fef2bcdc78
1 changed files with 2 additions and 1 deletions
|
|
@ -344,7 +344,8 @@ Destroy the cached assets
|
|||
|
||||
sub DESTROY {
|
||||
my $self = shift;
|
||||
for my $asset ( delete $self->{ qw/ _nextAlbum _prevAlbum / } ) {
|
||||
for my $key ( qw/ _nextAlbum _prevAlbum / ) {
|
||||
my $asset = delete $self->{ $key };
|
||||
$asset->DESTROY;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue