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

Commit abecf2e9 authored by Yifan Hong's avatar Yifan Hong Committed by Gerrit Code Review
Browse files

Merge "lshal: exhaust pipe before closing."

parents 89932bc5 b0ae543d
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;