From 7216611463a7a010a2e6dca19e564540d5340946 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 22 Sep 2016 18:41:45 -0400 Subject: [PATCH] bugfix --- serve.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/serve.js b/serve.js index c546828..c90a0d1 100644 --- a/serve.js +++ b/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) {