Skip to content

Commit 681f004

Browse files
committed
Make sure to clear the FD on end
1 parent 58e879b commit 681f004

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/socket.io/client.js

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Client.prototype._onConnect = function(req, res){
6565
this.connection.addListener('end', function(){
6666
self._onClose();
6767
self.connection.end();
68+
self.connection.destroy();
6869
});
6970

7071
if (req){

0 commit comments

Comments
 (0)