mirror of https://github.com/nodejs/node.git
make stdout stream non-destroyable
parent
5d89540b77
commit
f84d86b660
|
@ -278,6 +278,7 @@
|
|||
process.__defineGetter__('stdout', function() {
|
||||
if (stdout) return stdout;
|
||||
stdout = createWritableStdioStream(1);
|
||||
stdout.end = stdout.destroy = stdout.destroySoon = function() { };
|
||||
return stdout;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue