diff --git a/ext/phalcon.c b/ext/phalcon.c index 8e142270875..4945f080e7b 100644 --- a/ext/phalcon.c +++ b/ext/phalcon.c @@ -637,13 +637,14 @@ static PHP_GSHUTDOWN_FUNCTION(phalcon) phalcon_deinitialize_memory(TSRMLS_C); } +/* static ZEND_MODULE_POST_ZEND_DEACTIVATE_D(phalcon) { TSRMLS_FETCH(); #ifndef PHALCON_RELEASE if (!CG(unclean_shutdown)) { - //phalcon_verify_permanent_zvals(1 TSRMLS_CC); + phalcon_verify_permanent_zvals(1 TSRMLS_CC); } #endif @@ -672,6 +673,7 @@ static ZEND_MODULE_POST_ZEND_DEACTIVATE_D(phalcon) return SUCCESS; } +*/ static #if ZEND_MODULE_API_NO > 20060613 @@ -733,7 +735,7 @@ zend_module_entry phalcon_module_entry = { ZEND_MODULE_GLOBALS(phalcon), PHP_GINIT(phalcon), PHP_GSHUTDOWN(phalcon), - ZEND_MODULE_POST_ZEND_DEACTIVATE_N(phalcon), + NULL, /* ZEND_MODULE_POST_ZEND_DEACTIVATE_N(phalcon), */ STANDARD_MODULE_PROPERTIES_EX };