You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to Objective C and your streaming XML parser, but I ran into problem when network error occurs. I wanted to know if this is correct:
In AQXMLParser.m at line 963:
_internal->error = [input streamError];
Should this be:
_internal->error = [[input streamError] retain];
When this error occurs, then the parser is released, I get a crash in -dealloc at the line:
[_internal->error release];
with this error message:
-[CFError release]: message sent to deallocated instance
The text was updated successfully, but these errors were encountered:
Yes, good catch— it should indeed be retained. I'll tweak it and push the changes. In fact, I think there might be some other similar changes in the Kobo app to move across.
I am new to Objective C and your streaming XML parser, but I ran into problem when network error occurs. I wanted to know if this is correct:
In AQXMLParser.m at line 963:
_internal->error = [input streamError];
Should this be:
_internal->error = [[input streamError] retain];
When this error occurs, then the parser is released, I get a crash in
-dealloc
at the line:[_internal->error release];
with this error message:
-[CFError release]: message sent to deallocated instance
The text was updated successfully, but these errors were encountered: