fix race in devicelab concurrent hot reload (#22403)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user