Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index cfc170ee8e1d3fedf1199916e7e81ea865c6dfb7..fd9477e101557cbc42bcda3ad0b1e5fdf5f9795f 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7105,6 +7105,13 @@ void Isolate::Exit() { |
} |
+void Isolate::SetAbortOnUncaughtExceptionCallback( |
+ AbortOnUncaughtExceptionCallback callback) { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
+ isolate->SetAbortOnUncaughtExceptionCallback(callback); |
+} |
+ |
+ |
Isolate::DisallowJavascriptExecutionScope::DisallowJavascriptExecutionScope( |
Isolate* isolate, |
Isolate::DisallowJavascriptExecutionScope::OnFailure on_failure) |