Skip to content

Commit

Permalink
Merge pull request #76 from peter-gribanov/compression_resources
Browse files Browse the repository at this point in the history
Release compression resources in MaxMindDownloader
  • Loading branch information
peter-gribanov authored Feb 26, 2021
2 parents db9a731 + 1c63507 commit 7a8c63f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Downloader/MaxMindDownloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public function download(string $url, string $target): void

// extract tar archive
$tar->extractTo($tmp_untar);
unset($zip, $tar);

$this->logger->debug('Tar archive extracted');

Expand Down

0 comments on commit 7a8c63f

Please sign in to comment.