Skip to content

Commit ce5de6e

Browse files
Added destroy method that calls BaseSoundManager destroy method
1 parent 8ee02f8 commit ce5de6e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/sound/noaudio/NoAudioSoundManager.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ var NoAudioSoundManager = new Class({
4242
pauseAll: NOOP,
4343
resumeAll: NOOP,
4444
stopAll: NOOP,
45-
update: NOOP
45+
update: NOOP,
46+
destroy: function () {
47+
BaseSoundManager.prototype.destroy.call(this);
48+
}
4649
});
4750
module.exports = NoAudioSoundManager;

0 commit comments

Comments
 (0)