mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge pull request #2596 from umbrellaPP/v1.9-release
fix audioSource destroy bug
This commit is contained in:
@@ -177,7 +177,7 @@ Audio.State = {
|
||||
|
||||
proto.destroy = function () {
|
||||
if (CC_WECHATGAME) {
|
||||
this._element.destroy();
|
||||
this._element && this._element.destroy();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user