提交 962597e0 编写于 作者: A Adam Barth

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
上级 0b3475f4
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册