mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 08:31:01 +00:00
Removeing sound from manager before calling BaseSound destroy method
This commit is contained in:
parent
7ecc671781
commit
b42a426cc9
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ var NoAudioSound = new Class({
|
|||
return false;
|
||||
},
|
||||
destroy: function () {
|
||||
this.manager.remove(this);
|
||||
BaseSound.prototype.destroy.call(this);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue