diff --git a/runtime/bin/dartdev_isolate.cc b/runtime/bin/dartdev_isolate.cc index 62701b7e544..0f75c8e1b1a 100644 --- a/runtime/bin/dartdev_isolate.cc +++ b/runtime/bin/dartdev_isolate.cc @@ -26,7 +26,7 @@ Dart_CloseNativePort(send_port_id); \ } \ Dart_ExitScope(); \ - Dart_ExitIsolate(); \ + Dart_ShutdownIsolate(); \ return; \ } @@ -237,7 +237,7 @@ void DartDevIsolate::DartDevRunner::RunCallback(uword args) { ProcessError("Unable to find 'main' in root library 'dartdev'", kErrorExitCode); Dart_ExitScope(); - Dart_ExitIsolate(); + Dart_ShutdownIsolate(); return; }