Skip to content

Zend: Fix lazy object registry deletion under OOM conditions#22523

Open
arshidkv12 wants to merge 7 commits into
php:masterfrom
arshidkv12:zend_lazy_object_del_info-1
Open

Zend: Fix lazy object registry deletion under OOM conditions#22523
arshidkv12 wants to merge 7 commits into
php:masterfrom
arshidkv12:zend_lazy_object_del_info-1

Conversation

@arshidkv12

Copy link
Copy Markdown
Contributor

@TimWolla TimWolla requested a review from arnaud-lb June 30, 2026 09:05
Comment thread Zend/zend_lazy_objects.c Outdated
Comment on lines +164 to +166
ZEND_ASSERT(res == SUCCESS);
if (UNEXPECTED(res != SUCCESS)) {
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ZEND_ASSERT(res == SUCCESS);
if (UNEXPECTED(res != SUCCESS)) {
return;
}
ZEND_ASSERT(res == SUCCESS || CG(unclean_shutdown));

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants