From: Marcus Boerger Date: Sat, 20 May 2006 10:18:17 +0000 (+0000) Subject: - Do not use the protection at this place, we would need another object X-Git-Tag: BEFORE_NEW_OUTPUT_API~151 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b850abcb82fefc661269a742edb7af222fa96685;p=php - Do not use the protection at this place, we would need another object shutdown state (e.g. destructed == 2). That's probbaly too much. --- diff --git a/Zend/zend_objects.c b/Zend/zend_objects.c index d968dbf1da..d68ae795e2 100644 --- a/Zend/zend_objects.c +++ b/Zend/zend_objects.c @@ -51,7 +51,7 @@ ZEND_API void zend_objects_destroy_object(zend_object *object, zend_object_handl zend_function *destructor = object->ce->destructor; - if (destructor && !zend_objects_is_detructor_called(handle TSRMLS_CC)) { + if (destructor) { zval zobj, *obj = &zobj; zval *old_exception;