diff --git a/src/PhpSpreadsheet/Worksheet/Worksheet.php b/src/PhpSpreadsheet/Worksheet/Worksheet.php index 9c836c63f3..731bb0e3c2 100644 --- a/src/PhpSpreadsheet/Worksheet/Worksheet.php +++ b/src/PhpSpreadsheet/Worksheet/Worksheet.php @@ -444,6 +444,7 @@ public function __destruct() $this->disconnectCells(); $this->rowDimensions = []; + $this->removeTableCollection(); } /**