From eaf7b3d662731ff4a101f9cbe5b0211df46117c1 Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Fri, 20 Sep 2013 00:04:58 +0300 Subject: [PATCH] Restore zend_execute_internal on MSHUTDOWN --- ext/phalcon.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ext/phalcon.c b/ext/phalcon.c index a1f582bd0e4..584b4b0efc1 100644 --- a/ext/phalcon.c +++ b/ext/phalcon.c @@ -711,16 +711,15 @@ static PHP_MINIT_FUNCTION(phalcon){ return SUCCESS; } -#ifndef PHALCON_RELEASE static PHP_MSHUTDOWN_FUNCTION(phalcon){ assert(PHALCON_GLOBAL(function_cache) == NULL); assert(PHALCON_GLOBAL(orm).parser_cache == NULL); assert(PHALCON_GLOBAL(orm).ast_cache == NULL); + zend_execute_internal = orig_execute_internal; return SUCCESS; } -#endif static PHP_RINIT_FUNCTION(phalcon){ @@ -832,11 +831,7 @@ zend_module_entry phalcon_module_entry = { PHP_PHALCON_EXTNAME, NULL, PHP_MINIT(phalcon), -#ifndef PHALCON_RELEASE PHP_MSHUTDOWN(phalcon), -#else - NULL, -#endif PHP_RINIT(phalcon), PHP_RSHUTDOWN(phalcon), PHP_MINFO(phalcon),