bugfix
This commit is contained in:
parent
d999107ea8
commit
7216611463
2
serve.js
2
serve.js
|
@ -162,11 +162,13 @@ function socketToId(socket) {
|
|||
});
|
||||
*/
|
||||
|
||||
remotes[token.name] = remote;
|
||||
rserver.on('data', function (chunk) {
|
||||
unpacker.fns.addChunk(chunk);
|
||||
});
|
||||
|
||||
function closeEm() {
|
||||
console.log("closing connection to '" + token.name + "'");
|
||||
delete remotes[token.name];
|
||||
|
||||
Object.keys(remote.clients).forEach(function (cid) {
|
||||
|
|
Loading…
Reference in New Issue