Skip to content

Commit 88fcc5f

Browse files
committed
Reset startup_done variable
phpdbg can perform module startup + shutdown more than once.
1 parent 92a06fa commit 88fcc5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,7 @@ void zend_shutdown(void) /* {{{ */
11311131
zend_destroy_rsrc_list_dtors();
11321132

11331133
zend_optimizer_shutdown();
1134+
startup_done = false;
11341135
}
11351136
/* }}} */
11361137

0 commit comments

Comments
 (0)