]> granicus.if.org Git - php/commitdiff
- Do not use the protection at this place, we would need another object
authorMarcus Boerger <helly@php.net>
Sat, 20 May 2006 10:18:17 +0000 (10:18 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 20 May 2006 10:18:17 +0000 (10:18 +0000)
  shutdown state (e.g. destructed == 2). That's probbaly too much.

Zend/zend_objects.c

index d968dbf1da133ef1980a97afa61deaa928c5703e..d68ae795e2b4168528200032ed81b206586a831e 100644 (file)
@@ -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;