better widget hash (+ deps: shortid); re-registers widgets on reconnection

This commit is contained in:
jean-emmanuel 2017-04-09 23:09:00 +02:00
parent ab281dd534
commit 0f737bcedf
5 changed files with 22 additions and 4 deletions

View file

@ -206,7 +206,7 @@ module.exports = {
removeWidget(data, clientId) {
delete widgetHashTable[data.hash + clientId]
delete widgetHashTable[clientId][data.hash]
},