From e97a481785dc5920336f46c7b29c6d9ff5fe974b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 24 May 2010 17:14:08 -0700 Subject: [PATCH] Destroy REPL pipes instead of shutting down. --- lib/repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repl.js b/lib/repl.js index 22542c6206..52de3974a4 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -111,7 +111,7 @@ REPLServer.prototype.parseREPLKeyword = function (cmd) { self.displayPrompt(); return true; case ".exit": - self.stream.end(); + self.stream.destroy(); return true; case ".help": self.stream.write(".break\tSometimes you get stuck in a place you can't get out... This will get you out.\n");