mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +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 () {
|
onEndedHandler: function () {
|
||||||
|
|
||||||
|
this._sound.onended = null;
|
||||||
this.isPlaying = false;
|
this.isPlaying = false;
|
||||||
this.stop();
|
this.stop();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue