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.
This commit is contained in:
Alexander Aprelev 2018-11-05 07:29:37 -08:00 committed by GitHub
parent 8e7c8048de
commit 34bc1e3c8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -441,6 +441,7 @@ Future<XcodeBuildResult> buildXcodeProject({
if (line == 'done') {
buildSubStatus?.stop();
buildSubStatus = null;
return null;
} else {
initialBuildStatus.cancel();
buildSubStatus = logger.startProgress(