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. 2
      lib/net_uv.js

2
lib/net_uv.js

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

Loading…
Cancel
Save