added unawaited function for devicelab and turned on unawaited_futures linter (#82833)
This commit is contained in:
@@ -6,6 +6,7 @@ import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:flutter_devicelab/common.dart';
|
||||
import 'package:flutter_devicelab/framework/framework.dart';
|
||||
import 'package:flutter_devicelab/framework/host_agent.dart';
|
||||
import 'package:flutter_devicelab/framework/ios.dart';
|
||||
@@ -464,7 +465,7 @@ Future<void> main() async {
|
||||
} catch (e) {
|
||||
return TaskResult.failure(e.toString());
|
||||
} finally {
|
||||
removeIOSimulator(simulatorDeviceId);
|
||||
unawaited(removeIOSimulator(simulatorDeviceId));
|
||||
rmTree(tempDir);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user