Browse Source

Destroy REPL pipes instead of shutting down.

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
e97a481785
  1. 2
      lib/repl.js

2
lib/repl.js

@ -111,7 +111,7 @@ REPLServer.prototype.parseREPLKeyword = function (cmd) {
self.displayPrompt(); self.displayPrompt();
return true; return true;
case ".exit": case ".exit":
self.stream.end(); self.stream.destroy();
return true; return true;
case ".help": case ".help":
self.stream.write(".break\tSometimes you get stuck in a place you can't get out... This will get you out.\n"); self.stream.write(".break\tSometimes you get stuck in a place you can't get out... This will get you out.\n");

Loading…
Cancel
Save