From 962597e0f53ee279a48457ba2ff0e60a5a67f666 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 3 Mar 2016 16:45:00 -0800 Subject: [PATCH] Fix crash when running widget example Dart_IsolateMakeRunnable was returning false, which can indicate that the isolate was already running. This patch seems harmless, but I'll follow up to understand more about what's happening here. Fixes #2383 --- sky/engine/core/script/dart_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sky/engine/core/script/dart_controller.cc b/sky/engine/core/script/dart_controller.cc index bc8d77e9627..1aa991a2a2a 100644 --- a/sky/engine/core/script/dart_controller.cc +++ b/sky/engine/core/script/dart_controller.cc @@ -59,7 +59,7 @@ bool DartController::SendStartMessage(Dart_Handle root_library) { Dart_Isolate isolate = dart_state()->isolate(); DCHECK(Dart_CurrentIsolate() == isolate); Dart_ExitIsolate(); - CHECK(Dart_IsolateMakeRunnable(isolate)); + Dart_IsolateMakeRunnable(isolate); Dart_EnterIsolate(isolate); }