Merge pull request #2596 from umbrellaPP/v1.9-release

fix audioSource destroy bug
This commit is contained in:
Jare Guo
2018-04-25 16:51:50 +08:00
committed by GitHub
+1 -1
View File
@@ -177,7 +177,7 @@ Audio.State = {
proto.destroy = function () {
if (CC_WECHATGAME) {
this._element.destroy();
this._element && this._element.destroy();
}
};