This commit is contained in:
AJ ONeal 2016-09-22 18:41:45 -04:00
parent d999107ea8
commit 7216611463
1 changed files with 2 additions and 0 deletions

View File

@ -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) {