Skip to content

Commit f376f67

Browse files
committed
Removes call to net.Socket.resume
`resume` is not necessary since `pause` is never called
1 parent 66df5d1 commit f376f67

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/parallel/test-child-process-fork-net2.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@ if (process.argv[2] === 'child') {
109109
console.error('[m] CLIENT: close event');
110110
disconnected += 1;
111111
});
112-
// XXX This resume() should be unnecessary.
113-
// a stream high water mark should be enough to keep
114-
// consuming the input.
115-
client.resume();
116112
}
117113
});
118114

0 commit comments

Comments
 (0)