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:
parent
dbe477fc8e
commit
a8ddf9daef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user