mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-05 14:01:53 +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();
|
isolate->Enter();
|
||||||
|
|
||||||
if (V8JSG(fatal_error_abort)) {
|
if (V8JSG(fatal_error_abort)) {
|
||||||
|
isolate->Exit();
|
||||||
v8::V8::TerminateExecution(isolate);
|
v8::V8::TerminateExecution(isolate);
|
||||||
info.GetReturnValue().Set(V8JS_NULL);
|
info.GetReturnValue().Set(V8JS_NULL);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user