From: Vincent Vanwaelscappel Date: Tue, 29 Mar 2022 19:45:05 +0000 (+0200) Subject: wip #5195 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=86e0a284d1aeac5cd4804394894e31a04999a86a;p=cubist_pdf.git wip #5195 @0.5 --- diff --git a/src/Document.php b/src/Document.php index 78d8e28..05c56b3 100644 --- a/src/Document.php +++ b/src/Document.php @@ -103,6 +103,7 @@ class Document } if ($this->pages <= 0) { + unlink($nfoFile); throw new \Exception(sprintf('Error running FWSTK %s', $infos)); }