Revision c13354e3
lib/child_process.js | ||
---|---|---|
668 | 668 |
function ChildProcess() { |
669 | 669 |
EventEmitter.call(this); |
670 | 670 |
|
671 |
// Initialize TCPWrap and PipeWrap |
|
672 |
process.binding('tcp_wrap'); |
|
673 |
process.binding('pipe_wrap'); |
|
674 |
|
|
671 | 675 |
var self = this; |
672 | 676 |
|
673 | 677 |
this._closesNeeded = 1; |
lib/net.js | ||
---|---|---|
142 | 142 |
stream.Duplex.call(this, options); |
143 | 143 |
|
144 | 144 |
if (options.handle) { |
145 |
// Initialize TCPWrap and PipeWrap |
|
146 |
process.binding('tcp_wrap'); |
|
147 |
process.binding('pipe_wrap'); |
|
148 |
|
|
149 | 145 |
this._handle = options.handle; // private |
150 | 146 |
} else if (typeof options.fd !== 'undefined') { |
151 | 147 |
this._handle = createPipe(); |
Also available in: Unified diff