We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__destruct()
1 parent 6669588 commit c6b095bCopy full SHA for c6b095b
CHANGELOG.md
@@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org).
25
26
### Fixed
27
28
-- Nothing
+- Reduces extra memory usage on `__destruct()` calls
29
30
31
## 1.25.2 - 2022-09-25
src/PhpSpreadsheet/Collection/Cells.php
@@ -465,7 +465,7 @@ public function __destruct()
465
*/
466
private function getAllCacheKeys()
467
{
468
- foreach ($this->getCoordinates() as $coordinate) {
+ foreach ($this->index as $coordinate => $value) {
469
yield $this->cachePrefix . $coordinate;
470
}
471
0 commit comments