Avoid memory leak by allowing to release `Style` objects (bis)
Fixes #2092
This commit is contained in:
parent
5dd00b1b1a
commit
e5185eab0c
|
|
@ -506,6 +506,7 @@ class Spreadsheet
|
||||||
$this->disconnectWorksheets();
|
$this->disconnectWorksheets();
|
||||||
$this->calculationEngine = null;
|
$this->calculationEngine = null;
|
||||||
$this->cellXfCollection = [];
|
$this->cellXfCollection = [];
|
||||||
|
$this->cellStyleXfCollection = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue