Explorar o código

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

Stefan Siegl %!s(int64=11) %!d(string=hai) anos
pai
achega
a134129018
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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());
 }
 /* }}} */