From a1341290180f4f8a9ff3e348482c6b25191848ed Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Wed, 14 May 2014 23:39:41 +0200 Subject: [PATCH] Use isolate version of V8::TerminateExecution, refs #92 --- v8js_methods.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v8js_methods.cc b/v8js_methods.cc index 8366b53..1800ff4 100644 --- a/v8js_methods.cc +++ b/v8js_methods.cc @@ -29,7 +29,7 @@ void php_v8js_commonjs_normalise_identifier(char *base, char *identifier, char * /* global.exit - terminate execution */ V8JS_METHOD(exit) /* {{{ */ { - v8::V8::TerminateExecution(); + v8::V8::TerminateExecution(info.GetIsolate()); } /* }}} */