Skip to content

Commit

Permalink
remove stack clean - it makes trouble
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev committed Aug 5, 2003
1 parent 7e5a2dd commit f572897
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Zend/zend_execute_API.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,9 @@ void init_executor(TSRMLS_D)
EG(float_separator)[0] = '.';
}

static void do_nothing(void *v)
{
}

void shutdown_executor(TSRMLS_D)
{
zend_try {
zend_ptr_stack_clean(&EG(arg_types_stack), do_nothing, 1);
/* Removed because this can not be safely done, e.g. in this situation:
Object 1 creates object 2
Object 3 holds reference to object 2.
Expand Down

0 comments on commit f572897

Please sign in to comment.