[Single case] Single case Application construction implementation
Enterprise
2023-10-03 07:33:09
views: null
Application
- It seems that static variables have the longest life cycle.
- The Application class represents the application, the main thread, etc.
- H:\libuv-dev\Tools\cocos\platform\CCApplication.h
Singleton: a shared instance for internal use
Application has multiple implementations:
win32 singleton
scheduler is a global shared pointer object
Origin blog.csdn.net/commshare/article/details/133021107