Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59d113ec authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Merge "lshal: exhaust pipe before closing." am: abecf2e9 am: 114ee970 am:...

Merge "lshal: exhaust pipe before closing." am: abecf2e9 am: 114ee970 am: 754d8e8b am: 4b0ea54a am: 9d703369

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1833033

Change-Id: Ib737b04e8b2df578f600953851fcae6b920e9138
parents 5b6fab8f 9d703369
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ void PipeRelay::thread(unique_fd rfd, unique_fd rfdTrigger, std::ostream* out,
                continue;
            }
            out->write(buffer, n);
            continue;
        }
        if (pfd[0].revents & POLLHUP) {
            break;