spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 749 forks source link

How can I delete the Buffer after a PDF file is formed #761

Open r-mmc opened 1 year ago

r-mmc commented 1 year ago

The issue is, when we start the proccess of creating several PDF's one after the other.

The 1st PDF created it is fine! The 2nd PDF shows a blank PDF but when I edit the file it is actually containing the data of the 1st file and the 2nd file, and so on....

How can I delete the Buffer after one PDF file is formed before creating the next one?

Thank you in advanced !