From 892c654c8c1da8fde7730bdce96b1da7f448cc51 Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Sun, 27 Oct 2013 12:33:19 -0400 Subject: [PATCH] Simplify php_v8js_weak_object_callback. This also fixes a leak in the `object_dom` testcase, where the DOM extension returns an object with refcnt 1 but object_store refcnt 2, causing READY_TO_DESTROY to return false. Don't try to be fancy, just use the standard PHP destructor. --- v8js_convert.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/v8js_convert.cc b/v8js_convert.cc index 7a6afe0..ff120d2 100644 --- a/v8js_convert.cc +++ b/v8js_convert.cc @@ -260,12 +260,7 @@ static void php_v8js_weak_object_callback(const v8::WeakCallbackData