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