From f84d86b66054273fb6a31346f0dd957078b58c1c Mon Sep 17 00:00:00 2001 From: Igor Zinkovsky Date: Wed, 9 Nov 2011 15:04:44 -0800 Subject: [PATCH] make stdout stream non-destroyable --- src/node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node.js b/src/node.js index 82ad356bfcf..f24a92ee22b 100644 --- a/src/node.js +++ b/src/node.js @@ -278,6 +278,7 @@ process.__defineGetter__('stdout', function() { if (stdout) return stdout; stdout = createWritableStdioStream(1); + stdout.end = stdout.destroy = stdout.destroySoon = function() { }; return stdout; });