mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Merge pull request #2069 from Pappa/master
Fix for AudioBufferSourceNode listener memory leak.
This commit is contained in:
commit
aaecf14c12
1 changed files with 1 additions and 0 deletions
|
@ -392,6 +392,7 @@ Phaser.Sound.prototype = {
|
|||
*/
|
||||
onEndedHandler: function () {
|
||||
|
||||
this._sound.onended = null;
|
||||
this.isPlaying = false;
|
||||
this.stop();
|
||||
|
||||
|
|
Loading…
Reference in a new issue