diff --git a/libraries/adb/src/daemon/socket.ts b/libraries/adb/src/daemon/socket.ts index 48ae287d3..5d76c6e2e 100644 --- a/libraries/adb/src/daemon/socket.ts +++ b/libraries/adb/src/daemon/socket.ts @@ -114,7 +114,14 @@ export class AdbDaemonSocketController return; } - await this.#readableController.enqueue(data); + try { + await this.#readableController.enqueue(data); + } catch (e) { + if (this.#readableController.abortSignal.aborted) { + return; + } + throw e; + } } ack() {