From a9ba65cef1c0b48e38ce89aa66df15fcad29d015 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Thu, 24 Oct 2024 18:33:01 -0700 Subject: [PATCH] try without eio --- wrapper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrapper.ts b/wrapper.ts index 50c6bb7..775abb1 100644 --- a/wrapper.ts +++ b/wrapper.ts @@ -127,7 +127,8 @@ export class Pty { // is nothing left to read and we can start tearing things down. If we hadn't received an // error so far, we are considered to be in good standing. this.read.off('error', handleError); - this.#socket.emit('end'); + console.log('eio emit') + // this.#socket.end(); return; } }