Re: [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct())
| From: | Jason Garber | Date: | Wed, 15 Sep 2004 21:08:24 +0000 |
| Subject: | Re: [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct()) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12846@lists.php.net to get a copy of this message | ||
Hello Antony,
Maybe this was assumed, but wouldn't this be a per-request flag,
rather than a global flag?
--
Best regards,
Jason mailto:jason@ionzoft.com
Tuesday, September 14, 2004, 10:18:29 AM, you wrote:
AD> Sounds nice: we should not call destructors after they were already called =)
AD> I could propose a simple solution: add a global flag, which will indicate
AD> that shutdown_destructors() was called, and do appropriate check in
AD> zend_objects_store_del_ref().
AD> Comments/objections?