From 34bc1e3c8c772c615f8a5c9ce023805ed9ebb1d8 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Mon, 5 Nov 2018 07:29:37 -0800 Subject: [PATCH] Fix hanging of flutter run when running on more than one simulator. (#23932) This stops reading from pipe-to-file log after the build is completed. Attempting to read from pipe-to-file keeps open blocked because nobody is going to write into that pipe. --- packages/flutter_tools/lib/src/ios/mac.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/flutter_tools/lib/src/ios/mac.dart b/packages/flutter_tools/lib/src/ios/mac.dart index 3ad82ff5fa..a3a2aabbf3 100644 --- a/packages/flutter_tools/lib/src/ios/mac.dart +++ b/packages/flutter_tools/lib/src/ios/mac.dart @@ -441,6 +441,7 @@ Future buildXcodeProject({ if (line == 'done') { buildSubStatus?.stop(); buildSubStatus = null; + return null; } else { initialBuildStatus.cancel(); buildSubStatus = logger.startProgress(