Unverified Commit 34bc1e3c authored by Alexander Aprelev's avatar Alexander Aprelev Committed by GitHub

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.
parent 8e7c8048
...@@ -441,6 +441,7 @@ Future<XcodeBuildResult> buildXcodeProject({ ...@@ -441,6 +441,7 @@ Future<XcodeBuildResult> buildXcodeProject({
if (line == 'done') { if (line == 'done') {
buildSubStatus?.stop(); buildSubStatus?.stop();
buildSubStatus = null; buildSubStatus = null;
return null;
} else { } else {
initialBuildStatus.cancel(); initialBuildStatus.cancel();
buildSubStatus = logger.startProgress( buildSubStatus = logger.startProgress(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment