瀏覽代碼

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

Stefan Siegl 11 年之前
父節點
當前提交
a134129018
共有 1 個文件被更改,包括 1 次插入1 次删除
  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());
 }
 /* }}} */