Closed Pretz closed 10 years ago
Start digging this.
I think you are right, although I didn't reproduced this, add the following locks any way.
@synchronized(self.cornersArray) {
for (NSArray *corners in self.cornersArray) {
[self __drawCorners:corners];
}
}
@synchronized(self.borderRectArray) {
for (NSArray *borders in self.borderRectArray) {
[self __drawCorners:borders];
}
}
This crash is happening pretty regularly for users of my app. The crash is on the line
which leads me to believe it has to do with synchronization/multithreading around the cornersArray property. I haven't been able to reproduce it directly myself, but I intend to do some further testing.