We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92669f3 commit fbafeeeCopy full SHA for fbafeee
1 file changed
src/sound/html5/HTML5AudioSoundManager.js
@@ -183,6 +183,12 @@ var HTML5AudioSoundManager = new Class({
183
});
184
this.onBlurPausedSounds.length = 0;
185
},
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
+ */
192
destroy: function () {
193
BaseSoundManager.prototype.destroy.call(this);
194
0 commit comments