[php-src] PR #22020: Zend: Fix leaks when destructors throw during shutdown

From: Date: Tue, 12 May 2026 10:19:25 +0000
Subject: [php-src] PR #22020: Zend: Fix leaks when destructors throw during shutdown
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36099@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22020 Author: LamentXU123 as per #22010, this is \*probably\* because if shutdown aborts, while unwinding from the thrown exception, the matching GC_DELREF() / OBJ_RELEASE() calls may be skipped. That said, we need to add a catch logic to make sure that the object is released. cc @arnaud-lb. See if this works :)

« previous php.git-pulls (#36099) next »