mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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
This commit is contained in:
parent
0b3475f4ad
commit
962597e0f5
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user