mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
net_uv: resume on closed net.Socket shouldn't crash
This commit is contained in:
@@ -167,7 +167,9 @@ Socket.prototype.pause = function() {
|
||||
|
||||
|
||||
Socket.prototype.resume = function() {
|
||||
this._handle.readStart();
|
||||
if (this._handle) {
|
||||
this._handle.readStart();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user