mirror of https://github.com/nodejs/node.git
net_uv: resume on closed net.Socket shouldn't crash
parent
3cd694c9f3
commit
3a219de586
|
@ -167,7 +167,9 @@ Socket.prototype.pause = function() {
|
|||
|
||||
|
||||
Socket.prototype.resume = function() {
|
||||
this._handle.readStart();
|
||||
if (this._handle) {
|
||||
this._handle.readStart();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue