fix use of already destroyed hashtable with phpdbg
[m6w6/ext-raphf] / php_raphf.c
index 1f98145ff756a09e91d3c8cf69150a9f17be5d08..e2ff95c232c39aa239297651546db6e52a772894 100644 (file)
@@ -592,6 +592,7 @@ PHP_MINIT_FUNCTION(raphf)
 PHP_MSHUTDOWN_FUNCTION(raphf)
 {
        UNREGISTER_INI_ENTRIES();
+       php_persistent_handles_global_hash = NULL;
        return SUCCESS;
 }