Skip to content

Commit 9417492

Browse files
committed
Attempt 2 which worked on my VM
1 parent 4c01517 commit 9417492

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Zend/zend_execute_API.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,9 @@ ZEND_API void zend_shutdown_executor_values(bool fast_shutdown)
274274
zval *zv;
275275

276276
EG(flags) |= EG_FLAGS_IN_RESOURCE_SHUTDOWN;
277-
zend_close_rsrc_list(&EG(regular_list));
277+
zend_try {
278+
zend_close_rsrc_list(&EG(regular_list));
279+
} zend_end_try();
278280

279281
/* No PHP callback functions should be called after this point. */
280282
EG(active) = 0;

0 commit comments

Comments
 (0)