I've noticed that occasionally I get a crash when using CCBufferedImageView with progressive JPEGs. The crash is an EXC_BAD_ACCESS on the decodedImage variable in public func connection(connection: NSURLConnection, didReceiveData data: NSData).
This crash is quite easily reproducible if you place the CCBufferedImageView inside a tableview cell.
Adding a guard to make sure that decodedImage is not nil solves the issue.
I've noticed that occasionally I get a crash when using CCBufferedImageView with progressive JPEGs. The crash is an EXC_BAD_ACCESS on the decodedImage variable in
public func connection(connection: NSURLConnection, didReceiveData data: NSData)
.This crash is quite easily reproducible if you place the CCBufferedImageView inside a tableview cell.
Adding a guard to make sure that decodedImage is not nil solves the issue.