fix race in devicelab concurrent hot reload (#22403)

This commit is contained in:
Dan Field
2018-09-28 09:01:39 -07:00
committed by GitHub
parent 11ed8aa164
commit 2c61067387

View File

@@ -64,6 +64,8 @@ void main() {
print('service protocol connection available at port $vmServicePort');
} else if (json != null && json['event'] == 'app.started') {
appId = json['params']['appId'];
}
if (vmServicePort != null && appId != null) {
print('run: ready!');
ready.complete();
ok ??= true;