Skip to content

Commit

Permalink
Fix garbage collection (#509)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
  • Loading branch information
deguif and nicolaasuni committed Dec 6, 2022
1 parent ca70b94 commit e8a76e1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tcpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -2024,9 +2024,6 @@ public function __construct($orientation='P', $unit='mm', $format='A4', $unicode
$this->header_xobj_autoreset = false;
$this->custom_xmp = '';
$this->custom_xmp_rdf = '';
// Call cleanup method after script execution finishes or exit() is called.
// NOTE: This will not be executed if the process is killed with a SIGTERM or SIGKILL signal.
register_shutdown_function(array($this, '_destroy'), true);
}

/**
Expand Down

0 comments on commit e8a76e1

Please sign in to comment.