console: send fix
This commit is contained in:
parent
0966f7b754
commit
ea641956bf
1 changed files with 4 additions and 4 deletions
|
|
@ -23,6 +23,10 @@ module.exports = {
|
|||
|
||||
if (settings.read('load') && !data.hotReload) return this.sessionOpen({path: settings.read('load')}, clientId)
|
||||
|
||||
if (!widgetHashTable[clientId]) {
|
||||
widgetHashTable[clientId] = {CONSOLE: {typeTags: ''}}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
close(data, clientId) {
|
||||
|
|
@ -360,10 +364,6 @@ module.exports = {
|
|||
addWidget(data, clientId) {
|
||||
// cache widget osc data to reduce bandwidth usage
|
||||
|
||||
if (!widgetHashTable[clientId]) {
|
||||
widgetHashTable[clientId] = {CONSOLE: {}}
|
||||
}
|
||||
|
||||
if (!widgetHashTable[clientId][data.hash]) {
|
||||
widgetHashTable[clientId][data.hash] = {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue