mirror of https://github.com/nodejs/node.git
Fix breakage introduced in de65ba7
parent
de65ba7aba
commit
1df222f179
|
@ -236,7 +236,6 @@ Object.defineProperty(Socket.prototype, 'bufferSize', {
|
|||
|
||||
|
||||
Socket.prototype.pause = function() {
|
||||
if (this._paused) return;
|
||||
this._paused = true;
|
||||
if (this._connecting) {
|
||||
// will actually pause once the handle is established.
|
||||
|
@ -249,7 +248,6 @@ Socket.prototype.pause = function() {
|
|||
|
||||
|
||||
Socket.prototype.resume = function() {
|
||||
if (!this._paused) return;
|
||||
this._paused = false;
|
||||
if (this._connecting) {
|
||||
// will actually resume once the handle is established.
|
||||
|
|
Loading…
Reference in New Issue