| Index: runtime/vm/isolate.cc
|
| diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
|
| index 61e03af172e5df933911cb6ad653ba76edb3664c..f8133efa01441bf6c2a1b3e9a705498c4d8cb102 100644
|
| --- a/runtime/vm/isolate.cc
|
| +++ b/runtime/vm/isolate.cc
|
| @@ -7,7 +7,7 @@
|
| #include "include/dart_api.h"
|
| #include "include/dart_native_api.h"
|
| #include "platform/assert.h"
|
| -#include "platform/json.h"
|
| +#include "platform/text_buffer.h"
|
| #include "vm/class_finalizer.h"
|
| #include "vm/code_observers.h"
|
| #include "vm/compiler.h"
|
| @@ -631,14 +631,6 @@ MessageHandler::MessageStatus IsolateMessageHandler::ProcessUnhandledException(
|
| }
|
| }
|
|
|
| - // Invoke the isolate's unhandled exception callback if there is one.
|
| - if (Isolate::UnhandledExceptionCallback() != NULL) {
|
| - Dart_EnterScope();
|
| - Dart_Handle error = Api::NewHandle(T, result.raw());
|
| - (Isolate::UnhandledExceptionCallback())(error);
|
| - Dart_ExitScope();
|
| - }
|
| -
|
| // Generate the error and stacktrace strings for the error message.
|
| String& exc_str = String::Handle(T->zone());
|
| String& stacktrace_str = String::Handle(T->zone());
|
| @@ -1686,9 +1678,6 @@ void Isolate::Shutdown() {
|
|
|
|
|
| Dart_IsolateCreateCallback Isolate::create_callback_ = NULL;
|
| -Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL;
|
| -Dart_IsolateUnhandledExceptionCallback
|
| - Isolate::unhandled_exception_callback_ = NULL;
|
| Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL;
|
| Dart_FileOpenCallback Isolate::file_open_callback_ = NULL;
|
| Dart_FileReadCallback Isolate::file_read_callback_ = NULL;
|
|
|