mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Add destroy event of sound object
Add destroy event of sound object
This commit is contained in:
parent
97cd94b3de
commit
cd42ce981a
1 changed files with 1 additions and 0 deletions
|
@ -522,6 +522,7 @@ var BaseSound = new Class({
|
|||
return;
|
||||
}
|
||||
|
||||
this.emit('destroy', this);
|
||||
this.pendingRemove = true;
|
||||
this.manager = null;
|
||||
this.key = '';
|
||||
|
|
Loading…
Reference in a new issue