issues
search
pinterest
/
PINRemoteImage
A thread safe, performant, feature rich image fetcher
Apache License 2.0
4.01k
stars
511
forks
source link
PINCachedAnimatedImage: Fix retain cycles
#546
Closed
bolsinga
closed
4 years ago
bolsinga
commented
4 years ago
Use NSNotificationCenter selector based observation.
Remove retain cycles when dispatching async to
PINOperation
and
dispatch_async
Use internal methods since this code uses lots of ivars, which have implicit
self
references that are hard to find.
Add test that fails without this fix.
PINOperation
anddispatch_async
self
references that are hard to find.