Fix race condition in readJsonResults (#100243)

This commit is contained in:
Emmanuel Garcia
2022-03-17 13:40:15 -07:00
committed by GitHub
parent 3c6b760e4c
commit 9072a09958
3 changed files with 29 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ TaskFunction createMicrobenchmarkTask() {
return () async {
final Device device = await devices.workingDevice;
await device.unlock();
await device.clearLogs();
Future<Map<String, double>> _runMicrobench(String benchmarkPath) async {
Future<Map<String, double>> _run() async {