cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.87k stars 2.06k forks source link

WeChat mini-game audio memory growth #14017

Closed OnlyKoei closed 1 year ago

OnlyKoei commented 1 year ago

Cocos Creator version

3.6.2

System information

window 10

Issue description

https://forum.cocos.org/t/topic/144533 image

Relevant error log output

No response

Steps to reproduce

demo: TestAudio362.zip

Minimal reproduction project

No response

OnlyKoei commented 1 year ago

image this func: this._innerAudioContext.stop() No destruction of the _innerAudioContext instance object

bofeng-song commented 1 year ago

InnerAudioContext.destroy can not be trigger has fixed at this PR