Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix repeatly recycle audio #4793

merged 1 commit into from Jul 3, 2019

fix repeatly recycle audio #4793

merged 1 commit into from Jul 3, 2019


Copy link

@PPpro PPpro commented Jul 2, 2019

Re: cocos-creator/2d-tasks#1581


  • audioEngine 无法停止播放背景音乐的问题

主要是因为 audioEngine 播放结束后,回收了 audio 到对象池,用户又手动调用了 uncache,而引擎没有防止重复回收的判断,导致对象池管理混乱

@jareguo jareguo merged commit 6d8d5c6 into cocos-creator:v2.1.2 Jul 3, 2019
1 check passed
@PPpro PPpro deleted the 2.1_audio3 branch Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants