Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks authored and wupsbr committed Jul 8, 2015
1 parent 0396050 commit 9813b50
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ext/phalcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -672,6 +673,7 @@ static ZEND_MODULE_POST_ZEND_DEACTIVATE_D(phalcon)
return SUCCESS;
}
*/

static
#if ZEND_MODULE_API_NO > 20060613
Expand Down Expand Up @@ -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
};

Expand Down

0 comments on commit 9813b50

Please sign in to comment.