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

Unverified Commit d6d03061 authored by Simon Chan's avatar Simon Chan
Browse files

fix(adb): don't destroy the transport when a socket is cancelled

parent 70dd3418
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -114,7 +114,14 @@ export class AdbDaemonSocketController
            return;
        }

        try {
            await this.#readableController.enqueue(data);
        } catch (e) {
            if (this.#readableController.abortSignal.aborted) {
                return;
            }
            throw e;
        }
    }

    ack() {