Skip to content

Commit

Permalink
Destroy REPL pipes instead of shutting down.
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 25, 2010
1 parent 19f475c commit e97a481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e97a481

Please sign in to comment.