mirror of https://github.com/axmolengine/axmol.git
d174a98afa
When the AssetManagerEx start downloading, it used to create all the download tasks all at once. When the app has a large number of asset files, it is likely to crash due to out of memory when creating threads for each of the download tasks. This commit adds a buffer queue to the downloader to use the `countOfMaxProcessingTasks` property from hints, preventing all the tasks from starting all at once. |
||
---|---|---|
.. | ||
ControllerManualAdapter | ||
java | ||
jni | ||
libcocos2dx | ||
libcocos2dx-with-controller | ||
Android.mk | ||
CCApplication-android.cpp | ||
CCApplication-android.h | ||
CCCommon-android.cpp | ||
CCDevice-android.cpp | ||
CCEnhanceAPI-android.cpp | ||
CCEnhanceAPI-android.h | ||
CCFileUtils-android.cpp | ||
CCFileUtils-android.h | ||
CCGL-android.h | ||
CCGLViewImpl-android.cpp | ||
CCGLViewImpl-android.h | ||
CCPlatformDefine-android.h | ||
CCStdC-android.h | ||
javaactivity-android.cpp |