Small Improvement

This commit is contained in:
oleibman
2025-09-10 10:16:28 -07:00
parent 43754a130e
commit e49d7a9d94
+3
View File
@@ -39,6 +39,9 @@ class XMLWriter extends \XMLWriter
if (empty($this->tempFileName) || $this->openUri($this->tempFileName) === false) {
// Fallback to memory...
$this->openMemory();
if ($this->tempFileName != '') {
@unlink($this->tempFileName);
}
$this->tempFileName = '';
}
}