Skip to content

Commit fbafeee

Browse files
Added destroy method docs
1 parent 92669f3 commit fbafeee

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,12 @@ var HTML5AudioSoundManager = new Class({
183183
});
184184
this.onBlurPausedSounds.length = 0;
185185
},
186+
/**
187+
* Calls Phaser.Sound.BaseSoundManager#destroy method
188+
* and cleans up all HTML5 Audio related stuff.
189+
*
190+
* @method Phaser.Sound.HTML5AudioSoundManager#destroy
191+
*/
186192
destroy: function () {
187193
BaseSoundManager.prototype.destroy.call(this);
188194
this.onBlurPausedSounds.length = 0;

0 commit comments

Comments
 (0)