AFNetworking/AFNetworking — Issue #218: Images not getting dealloced
Author: suchitagarwal
Created: 2012-02-27 19:14:27+00:00
State: open

When I use setImageWithURL to load an image, the image is loaded correctly into the memory. However, even when the related viewController is dealloc-ed, the image object is never getting released from memory. Is there some reference to the controller / imageView that AFNetworking needs due to which its retaining the image? Am I missing something here? Should I be canceling all requests when popping from the navigation stack?