Skip to content
This repository has been archived by the owner on Nov 30, 2019. It is now read-only.

Crash - EXC_BAD_ACCESS in [UISS loadStyleSynchronously] #14

Closed
timd opened this issue Apr 3, 2013 · 0 comments
Closed

Crash - EXC_BAD_ACCESS in [UISS loadStyleSynchronously] #14

timd opened this issue Apr 3, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@timd
Copy link

timd commented Apr 3, 2013

In the UISS class, queue is defined as a nonatomic, assign property.

When calling the loadStyleSynchronously method, queue isn't retained and a EXC_BAD_ACCESS crash results.

The workaround is to declare the queue property as strong in line 30:

@property(nonatomic, strong) dispatch_queue_t queue; // all style parsing is done on the queue
@ghost ghost assigned robertwijas Apr 3, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants