commit | abecf2e90ab29259a69bc472b6015485f9e1bc2b | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Sep 22 00:04:27 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Sep 22 00:04:27 2021 +0000 |
tree | f23508e6ece81d5fee3c1e98fcdcf06e330e3080 | |
parent | 89932bc5b7265f040d2c9131637a16da008201db [diff] | |
parent | b0ae543d43d2ef70ba6f7aafb5b2c7a6c065853a [diff] |
Merge "lshal: exhaust pipe before closing."
diff --git a/cmds/lshal/PipeRelay.cpp b/cmds/lshal/PipeRelay.cpp index 0c3fb96..863490d 100644 --- a/cmds/lshal/PipeRelay.cpp +++ b/cmds/lshal/PipeRelay.cpp
@@ -82,6 +82,7 @@ continue; } out->write(buffer, n); + continue; } if (pfd[0].revents & POLLHUP) { break;