We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7a41b7 commit b935c5bCopy full SHA for b935c5b
1 file changed
src/sound/webaudio/WebAudioSound.js
@@ -512,8 +512,10 @@ var WebAudioSound = new Class({
512
this.muteNode = null;
513
this.volumeNode.disconnect();
514
this.volumeNode = null;
515
- this.pannerNode.disconnect();
516
- this.pannerNode = null;
+ if (this.pannerNode) {
+ this.pannerNode.disconnect();
517
+ this.pannerNode = null;
518
+ }
519
this.rateUpdates.length = 0;
520
this.rateUpdates = null;
521
},
0 commit comments