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.83k stars 2.05k forks source link

When the audio play done, the event key should be cleanup. #17908

Open yoki0805 opened 4 days ago

yoki0805 commented 4 days ago

Issue 17590

The id is an incrementing number. It makes the number of key in evenetTarget._callbackTable bigger.

Test project: snd-test.zip

Changelog

*


Continuous Integration

This pull request:


Compatibility Check

This pull request:

github-actions[bot] commented 4 days ago

⚠️ Package size ⤴ 36 bytes, old: 5376038, new: 5376074

Interface Check Report

This pull request does not change any public interfaces !