| Index: runtime/vm/dart.cc
|
| diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
|
| index 99e2886a46d482a0cb73d713f407df54e438b5b0..aa83a2a145688b793ab75d8909e7736d9e2084d1 100644
|
| --- a/runtime/vm/dart.cc
|
| +++ b/runtime/vm/dart.cc
|
| @@ -50,6 +50,7 @@ class PremarkingVisitor : public ObjectVisitor {
|
| // TODO(turnidge): We should add a corresponding Dart::Cleanup.
|
| bool Dart::InitOnce(Dart_IsolateCreateCallback create,
|
| Dart_IsolateInterruptCallback interrupt,
|
| + Dart_IsolateUnhandledExceptionCallback unhandled,
|
| Dart_IsolateShutdownCallback shutdown) {
|
| // TODO(iposva): Fix race condition here.
|
| if (vm_isolate_ != NULL || !Flags::Initialized()) {
|
| @@ -88,6 +89,7 @@ bool Dart::InitOnce(Dart_IsolateCreateCallback create,
|
| Isolate::SetCurrent(NULL); // Unregister the VM isolate from this thread.
|
| Isolate::SetCreateCallback(create);
|
| Isolate::SetInterruptCallback(interrupt);
|
| + Isolate::SetUnhandledExceptionCallback(unhandled);
|
| Isolate::SetShutdownCallback(shutdown);
|
| return true;
|
| }
|
|
|