Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Conversation

appleguy
Copy link
Contributor

This should not directly affect more complex apps that don't use the ASBasicImageDownloader. Straight alloc/init of ASNetworkImageNode without the cache or downloader options could cause this problem, as well as manually allocating an ASBasicImageDownloader.

Both the downloader and cache are now weak references from the image node, and ASBasicImageDownloader is now a singleton.

This patch also disables the default-on text placeholders, as they churn memory during the measurement pass. They were intended to be written with pure layers (without using backing stores), so I don't
think it is a reasonable default-on behavior until that is fixed.

This should not directly affect more complex apps that don't use the ASBasicImageDownloader.

Also disables the default-on text placeholders, as they churn memory during the measurement pass.
These were intended to be written with pure layers (without using backing stores), so I don't
think it is a reasonable default-on behavior until that is fixed.
appleguy added a commit that referenced this pull request Oct 31, 2015
Fix retain cycle for basic ASNetworkImageNodes (allocated without a cache)
@appleguy appleguy merged commit 40f138d into master Oct 31, 2015
@appleguy appleguy deleted the RangeCleanup branch October 31, 2015 07:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants