Skip to content

Commit

Permalink
change eio handler to handleend instead of markFdClosed
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Oct 24, 2024
1 parent ac4acb3 commit 0630403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class Pty {
// error so far, we are considered to be in good standing.
console.log('eio')
this.read.off('error', handleError);
markFdClosed();
handleEnd();
return;
}
}
Expand Down

0 comments on commit 0630403

Please sign in to comment.