diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 20d6866..f491aa9 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +6.1.0 (2014-12-07) + - The method TCPDF_STATIC::getRandomSeed() was improved. + 6.1.0 (2014-12-07) - The method TCPDF_STATIC::getRandomSeed() was improved. - The disk caching feature was removed. diff --git a/README.TXT b/README.TXT index 06b2849..2a7cf20 100644 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 6.1.0 -Release date: 2014-12-07 +Version: 6.1.1 +Release date: 2014-12-09 Author: Nicola Asuni Copyright (c) 2002-2014: diff --git a/composer.json b/composer.json index 32cbe12..283055d 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "tecnick.com/tcpdf", - "version": "6.1.0", + "version": "6.1.1", "homepage": "http://www.tcpdf.org/", "type": "library", "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", diff --git a/include/tcpdf_static.php b/include/tcpdf_static.php index 82ac717..69ee680 100644 --- a/include/tcpdf_static.php +++ b/include/tcpdf_static.php @@ -55,7 +55,7 @@ class TCPDF_STATIC { * Current TCPDF version. * @private static */ - private static $tcpdf_version = '6.1.0'; + private static $tcpdf_version = '6.1.1'; /** * String alias for total number of pages. diff --git a/tcpdf.php b/tcpdf.php index dc5fe4d..4a11138 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,7 +1,7 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 6.1.0 + * @version 6.1.1 */ // TCPDF configuration @@ -128,7 +128,7 @@ require_once(dirname(__FILE__).'/include/tcpdf_static.php'); * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
* @package com.tecnick.tcpdf * @brief PHP class for generating PDF documents without requiring external extensions. - * @version 6.1.0 + * @version 6.1.1 * @author Nicola Asuni - info@tecnick.com */ class TCPDF { @@ -1985,7 +1985,7 @@ class TCPDF { $this->custom_xmp = ''; // 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, '_destroyAll')); + register_shutdown_function(array($this, '_destroy'), true); } /** @@ -1999,7 +1999,7 @@ class TCPDF { mb_internal_encoding($this->internal_encoding); } // cleanup - $this->_destroyAll(); + $this->_destroy(true); } /** @@ -7766,13 +7766,6 @@ class TCPDF { } return ''; } - /** - * Destroy all objects and delete temp files. - * @protected - */ - protected function _destroyAll() { - $this->_destroy(true); - } /** * Unset all class variables except the following critical variables.