diff --git a/dev/devicelab/bin/tasks/run_machine_concurrent_hot_reload.dart b/dev/devicelab/bin/tasks/run_machine_concurrent_hot_reload.dart index 44f12adb9f..19d48d331e 100644 --- a/dev/devicelab/bin/tasks/run_machine_concurrent_hot_reload.dart +++ b/dev/devicelab/bin/tasks/run_machine_concurrent_hot_reload.dart @@ -65,7 +65,7 @@ void main() { } else if (json != null && json['event'] == 'app.started') { appId = json['params']['appId']; } - if (vmServicePort != null && appId != null) { + if (vmServicePort != null && appId != null && !ready.isCompleted) { print('run: ready!'); ready.complete(); ok ??= true;