fix audioSource destroy bug

This commit is contained in:
PP
2018-04-25 16:42:38 +08:00
parent 6907cb9ef4
commit cbc1dd7d09
+1 -1
View File
@@ -177,7 +177,7 @@ Audio.State = {
proto.destroy = function () {
if (CC_WECHATGAME) {
this._element.destroy();
this._element && this._element.destroy();
}
};