Skip to content

Commit

Permalink
Should clear repl on exit.shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Puzrin committed Mar 25, 2016
1 parent 06cb72d commit 613219b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autoload/hooks/init/repl.js
Expand Up @@ -75,7 +75,7 @@ module.exports = function (N) {
N.wire.emit('init:repl', r);
}).listen(listen_port, listen_host);

N.wire.on('exit.terminate', function repl_close() {
N.wire.before([ 'exit.shutdown', 'exit.terminate' ], function repl_close() {
replServer.close();

try {
Expand Down

0 comments on commit 613219b

Please sign in to comment.