Add destroy event of sound object

Add destroy event of sound object
This commit is contained in:
Hua 2018-04-11 16:29:29 +08:00
parent 97cd94b3de
commit cd42ce981a

View file

@ -522,6 +522,7 @@ var BaseSound = new Class({
return;
}
this.emit('destroy', this);
this.pendingRemove = true;
this.manager = null;
this.key = '';