Browse Source

net_uv: resume on closed net.Socket shouldn't crash

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
3a219de586
  1. 4
      lib/net_uv.js

4
lib/net_uv.js

@ -167,7 +167,9 @@ Socket.prototype.pause = function() {
Socket.prototype.resume = function() { Socket.prototype.resume = function() {
this._handle.readStart(); if (this._handle) {
this._handle.readStart();
}
}; };

Loading…
Cancel
Save