cocos-engine
cocos-engine copied to clipboard
fix EVENT_RESTART of profiler
https://forum.cocos.org/t/topic/171282 .Profiler add Game.EVENT_RESTART at showStats but not remove it at hideStats
Re: #
Changelog
Continuous Integration
This pull request:
- [ ] needs automatic test cases check.
Manual trigger with
@cocos-robot run test casesafterward. - [ ] does not change any runtime related code or build configuration
If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.
Compatibility Check
This pull request:
- [ ] changes public API, and have ensured backward compatibility with deprecated features.
- [ ] affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
- [ ] affects file structure of the build package or build configuration which requires user project upgrade.
- [ ] introduces breaking changes, please list all changes, affected features and the scope of violation.
Code Size Check Report
| Wechat (WASM) | Before | After | Diff |
|---|---|---|---|
| 2D Empty (legacy pipeline) | 1009805 bytes | 1009805 bytes | ✅ 0 bytes |
| 2D All (legacy pipeline) | 2675364 bytes | 2675400 bytes | ⚠️ +36 bytes |
| 2D All (new pipeline) | 2767100 bytes | 2767136 bytes | ⚠️ +36 bytes |
| (2D + 3D) All | 10024070 bytes | 10024106 bytes | ⚠️ +36 bytes |
| Web (WASM + ASMJS) | Before | After | Diff |
|---|---|---|---|
| (2D + 3D) All | 16843132 bytes | 16843168 bytes | ⚠️ +36 bytes |
Interface Check Report
This pull request does not change any public interfaces !