|
@@ -37,7 +37,9 @@
|
|
while (this.soundCollection.length) {
|
|
while (this.soundCollection.length) {
|
|
this.soundCollection[0].dispose();
|
|
this.soundCollection[0].dispose();
|
|
}
|
|
}
|
|
- this._outputAudioNode.disconnect();
|
|
|
|
|
|
+ if (this._outputAudioNode) {
|
|
|
|
+ this._outputAudioNode.disconnect();
|
|
|
|
+ }
|
|
this._outputAudioNode = null;
|
|
this._outputAudioNode = null;
|
|
}
|
|
}
|
|
}
|
|
}
|