Browse Source

tty: unbreak --use-legacy

Fixes #1844.
v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
326ba25451
  1. 8
      src/node.js

8
src/node.js

@ -231,7 +231,9 @@
// Hack to have stdout not keep the event loop alive.
// See https://github.com/joyent/node/issues/1726
stdout._handle.unref();
if (stdout._handle && stdout._handle.unref) {
stdout._handle.unref();
}
break;
case 'FILE':
@ -253,7 +255,9 @@
// FIXME Hack to have stdout not keep the event loop alive.
// See https://github.com/joyent/node/issues/1726
stdout._handle.unref();
if (stdout._handle && stdout._handle.unref) {
stdout._handle.unref();
}
break;
default:

Loading…
Cancel
Save