Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

tty: unbreak --use-legacy

Fixes #1844.
  • Loading branch information...
bnoordhuis committed Oct 10, 2011
1 parent d3f3f2e commit 326ba25451d41adced0f9e9f43b35dc422451dd7
Showing with 6 additions and 2 deletions.
  1. +6 −2 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:

0 comments on commit 326ba25

Please sign in to comment.
You can’t perform that action at this time.