dispose devices on cleanupAtFinish() for run_cold.dart (#42668)

This commit is contained in:
Christopher Fujino
2019-10-15 12:50:44 -07:00
committed by GitHub
parent daa7143c08
commit 428d7d7f2d
4 changed files with 111 additions and 1 deletions

View File

@@ -168,6 +168,10 @@ class ColdRunner extends ResidentRunner {
@override
Future<void> cleanupAtFinish() async {
for (FlutterDevice flutterDevice in flutterDevices) {
flutterDevice.device.dispose();
}
await stopEchoingDeviceLog();
}