From: Michael Wallner Date: Mon, 25 Nov 2013 22:33:25 +0000 (+0100) Subject: fix use of already destroyed hashtable with phpdbg X-Git-Tag: release-1.0.4~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8ab1490ec9debc23bf85c8b7fd494d05b1abdeaa;p=m6w6%2Fext-raphf fix use of already destroyed hashtable with phpdbg --- diff --git a/package.xml b/package.xml index 5dbc3fb..ad63c1d 100644 --- a/package.xml +++ b/package.xml @@ -19,9 +19,9 @@ http://pear.php.net/dtd/package-2.0.xsd"> mike@php.net yes - 2013-11-15 + 2013-11-25 - 1.0.3 + 1.0.4 1.0.0 @@ -30,7 +30,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> BSD, revised diff --git a/php_raphf.c b/php_raphf.c index 1f98145..e2ff95c 100644 --- a/php_raphf.c +++ b/php_raphf.c @@ -592,6 +592,7 @@ PHP_MINIT_FUNCTION(raphf) PHP_MSHUTDOWN_FUNCTION(raphf) { UNREGISTER_INI_ENTRIES(); + php_persistent_handles_global_hash = NULL; return SUCCESS; } diff --git a/php_raphf.h b/php_raphf.h index 9590f40..3958146 100644 --- a/php_raphf.h +++ b/php_raphf.h @@ -16,7 +16,7 @@ extern zend_module_entry raphf_module_entry; #define phpext_raphf_ptr &raphf_module_entry -#define PHP_RAPHF_VERSION "1.0.3" +#define PHP_RAPHF_VERSION "1.0.4" #ifdef PHP_WIN32 # define PHP_RAPHF_API __declspec(dllexport)