Browse Source

Fix breakage introduced in de65ba7

v0.9.1-release
isaacs 13 years ago
parent
commit
1df222f179
  1. 2
      lib/net.js

2
lib/net.js

@ -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…
Cancel
Save