Prevent Firefox from spamming errors

This commit is contained in:
Neale Pickett 2022-06-26 12:22:57 -06:00
parent 047fd1e335
commit 9f9b7b9014
2 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@ class MIDIBuzzer extends Buzzer {
let ms = when?when - Date.now():0 let ms = when?when - Date.now():0
setTimeout( setTimeout(
() => { () => {
for (let output of this.outputs) { for (let output of (this.outputs || [])) {
output.send(message) output.send(message)
} }
}, },