diff --git a/js/audio.js b/js/audio.js index 0ce4beec..bc0879ac 100644 --- a/js/audio.js +++ b/js/audio.js @@ -34,7 +34,10 @@ GameBoyAdvanceAudio.prototype.clear = function() { this.enabled = false; if (this.context) { - this.jsAudio.disconnect(this.context.destination); + try { + this.jsAudio.disconnect(this.context.destination); + } catch (e) { + } } this.enableChannel3 = false;