mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Disconnecting loop buffer source from its destination after stopping it
This commit is contained in:
parent
f4f3ecccdd
commit
9b0ed25a4d
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ var WebAudioSound = new Class({
|
|||
stopAndRemoveLoopBufferSource: function () {
|
||||
if (this.loopSource) {
|
||||
this.loopSource.stop();
|
||||
this.loopSource.disconnect();
|
||||
this.loopSource = null;
|
||||
}
|
||||
this.loopTime = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue