Skip to content

Commit e97a481

Browse files
committed
Destroy REPL pipes instead of shutting down.
1 parent 19f475c commit e97a481

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ REPLServer.prototype.parseREPLKeyword = function (cmd) {
111111
self.displayPrompt();
112112
return true;
113113
case ".exit":
114-
self.stream.end();
114+
self.stream.destroy();
115115
return true;
116116
case ".help":
117117
self.stream.write(".break\tSometimes you get stuck in a place you can't get out... This will get you out.\n");

0 commit comments

Comments
 (0)