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. |
||
---|---|---|
.. | ||
.settings | ||
libs | ||
res | ||
src | ||
.classpath | ||
.project | ||
AndroidManifest.xml | ||
ant.properties | ||
build.xml | ||
lint.xml | ||
proguard-project.txt | ||
project.properties |