Avoid memory leak
When creating a spreadsheet, and writing to Xlsx, then to Xls, then reading the Xls, it would leak memory during reading. Fixes #2092
This commit is contained in:
parent
e5185eab0c
commit
ea2d4b96f6
|
|
@ -399,6 +399,7 @@ class Worksheet implements IComparable
|
||||||
Calculation::getInstance($this->parent)->clearCalculationCacheForWorksheet($this->title);
|
Calculation::getInstance($this->parent)->clearCalculationCacheForWorksheet($this->title);
|
||||||
|
|
||||||
$this->disconnectCells();
|
$this->disconnectCells();
|
||||||
|
$this->rowDimensions = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue