mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-29 17:59:55 +02:00
fix close container in ZipFile::close()
This commit is contained in:
@@ -1797,8 +1797,9 @@ class ZipFile implements ZipFileInterface
|
||||
if ($this->reader !== null) {
|
||||
$this->reader->close();
|
||||
$this->reader = null;
|
||||
$this->zipContainer = $this->createZipContainer(null);
|
||||
}
|
||||
$this->zipContainer = $this->createZipContainer(null);
|
||||
gc_collect_cycles();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user