Merge pull request #2069 from Pappa/master

Fix for AudioBufferSourceNode listener memory leak.
This commit is contained in:
Richard Davey 2015-09-08 21:40:19 +03:00
commit aaecf14c12

View file

@ -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();