Closed timd closed 11 years ago
In the UISS class, queue is defined as a nonatomic, assign property.
UISS
queue
nonatomic, assign
When calling the loadStyleSynchronously method, queue isn't retained and a EXC_BAD_ACCESS crash results.
loadStyleSynchronously
EXC_BAD_ACCESS
The workaround is to declare the queue property as strong in line 30:
strong
@property(nonatomic, strong) dispatch_queue_t queue; // all style parsing is done on the queue
In the
UISS
class,queue
is defined as anonatomic, assign
property.When calling the
loadStyleSynchronously
method,queue
isn't retained and aEXC_BAD_ACCESS
crash results.The workaround is to declare the
queue
property asstrong
in line 30: