Closed taquitos closed 9 years ago
The bug is that exceptions thrown and caught in ARC code causes leaks of any __strong variables in the @try{} scope when exceptions are thrown. In this case, we're unlikely to hit an exception (so far only hit one for invalid JSON). Two approaches:
fixed in 690be854a2897e5735d40b6eef5a5c145ed8d8bf just passing the exception through.
Wrap the NSJSONSerialization class in a non-arc compiled class and use that instead of directly catching it in JLObjectDeserializer -_objectWithString:targetClass: