Browse Source

Use isolate version of V8::TerminateExecution, refs #92

Stefan Siegl 11 years ago
parent
commit
a134129018
1 changed files with 1 additions and 1 deletions
  1. 1 1
      v8js_methods.cc

+ 1 - 1
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());
 }
 /* }}} */