We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad74f2f + cf1c127 commit 3d9e52cCopy full SHA for 3d9e52c
lib/client.js
@@ -68,9 +68,9 @@ Client.prototype.connect = function(name){
68
self.sockets.push(socket);
69
self.nsps[nsp.name] = socket;
70
71
- if ('/' == nsp.name && self.connectBuffer) {
+ if ('/' == nsp.name && self.connectBuffer.length > 0) {
72
self.connectBuffer.forEach(self.connect, self);
73
- delete self.connectBuffer;
+ self.connectBuffer = [];
74
}
75
});
76
};
package.json
@@ -13,7 +13,7 @@
13
],
14
"repository": {
15
"type": "git",
16
- "url": "git://github.com/LearnBoost/socket.io"
+ "url": "git://github.com/Automattic/socket.io"
17
},
18
"scripts": {
19
"test": "make test"
0 commit comments