com php-src: *Always* clean up and run destructors: phpdbg_prompt.c

From: Date: Tue, 28 Oct 2014 16:25:43 +0000
Subject: com php-src: *Always* clean up and run destructors: phpdbg_prompt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82777@lists.php.net to get a copy of this message
Commit: 64774c7ddbdef3844558898a50104ec6dc758b55 Author: Bob Weinand <bobwei9@hotmail.com> Tue, 28 Oct 2014 12:27:19 +0100 Parents: 44079a0c820e08de1709d8dff2682ba4b2c03965 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=64774c7ddbdef3844558898a50104ec6dc758b55 Log: *Always* clean up and run destructors Changed paths: M phpdbg_prompt.c Diff: diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 73ecbcb..262b265 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -676,10 +676,10 @@ PHPDBG_COMMAND(run) /* {{{ */ EG(active_op_array) = orig_op_array; EG(opline_ptr) = orig_opline; EG(return_value_ptr_ptr) = orig_retval_ptr; - - phpdbg_clean(1 TSRMLS_CC); } + phpdbg_clean(1 TSRMLS_CC); + PHPDBG_G(flags) &= ~PHPDBG_IS_RUNNING; } else { phpdbg_error("inactive", "type=\"nocontext\"", "Nothing to execute!");

« previous php.cvs (#82777) next »