0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-03 15:41:55 +00:00

Also perform isolate exit on fatal error abort.

This commit is contained in:
Taneli Leppa 2014-07-01 10:49:29 +03:00
parent dbe477fc8e
commit a8ddf9daef

View File

@ -195,6 +195,7 @@ static void php_v8js_call_php_func(zval *value, zend_class_entry *ce, zend_funct
isolate->Enter();
if (V8JSG(fatal_error_abort)) {
isolate->Exit();
v8::V8::TerminateExecution(isolate);
info.GetReturnValue().Set(V8JS_NULL);
return;