osc: defered loading of remote-control is no longer needed -> avoid error when receiving osc too early
This commit is contained in:
parent
f3f182c102
commit
574489b14c
1 changed files with 1 additions and 5 deletions
|
|
@ -10,13 +10,9 @@ var Osc = class Osc extends EventEmitter {
|
|||
super()
|
||||
|
||||
this.syncOnly = false
|
||||
this.remoteControl = {}
|
||||
this.remoteControl = require('./remote-control')
|
||||
this.serverTargets = []
|
||||
|
||||
setTimeout(()=>{
|
||||
osc.remoteControl = require('./remote-control')
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
send(data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue