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

Commit b80ed906 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "adb server: don't close stale fd when TCP transport is closed"

parents 692dc75d 3abd31d8
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -331,7 +331,11 @@ static void remote_kick(atransport *t)

static void remote_close(atransport *t)
{
    adb_close(t->fd);
    int fd = t->sfd;
    if (fd != -1) {
        t->sfd = -1;
        adb_close(fd);
    }
}