mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
fix(node/readline): close input when readline interface closes
This commit is contained in:
@@ -1583,6 +1583,7 @@ var _Interface = class Interface extends InterfaceConstructor {
|
||||
this[kSetRawMode](false);
|
||||
}
|
||||
this.closed = true;
|
||||
this.input.close();
|
||||
this.emit("close");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user