Merge branch 'master' of github.com:jean-emmanuel/open-stage-control into master
This commit is contained in:
commit
f6a8930046
5 changed files with 19 additions and 5 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## 1.7.1
|
||||
|
||||
- bug fixes
|
||||
- regression causing server errors
|
||||
|
||||
## 1.7.0
|
||||
|
||||
**Important change**
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "open-stage-control",
|
||||
"productName": "Open Stage Control",
|
||||
"description": "Libre and modular OSC / MIDI controller",
|
||||
"version": "1.7.0",
|
||||
"version": "1.7.1",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet",
|
||||
"email": "jean-emmanuel@ammd.net"
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@ 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) {
|
||||
|
|
@ -34,6 +30,15 @@ module.exports = {
|
|||
|
||||
},
|
||||
|
||||
created(data, clientId) {
|
||||
// client created or reconnected
|
||||
|
||||
if (!widgetHashTable[clientId]) {
|
||||
widgetHashTable[clientId] = {CONSOLE: {typeTags: ''}}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
destroyed(data, clientId) {
|
||||
// client removed (timeout)
|
||||
|
||||
|
|
|
|||
|
|
@ -57,6 +57,8 @@ class Socket extends EventEmitter {
|
|||
}, hearbeatTimeout)
|
||||
}, hearbeatInterval)
|
||||
|
||||
this.emit('created')
|
||||
|
||||
}
|
||||
|
||||
close() {
|
||||
|
|
|
|||
|
|
@ -49,6 +49,8 @@ class Ipc extends EventEmitter {
|
|||
|
||||
}
|
||||
|
||||
this.clients[id].emit('created')
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue