Closed rcastillop closed 8 years ago
I've go this issue, with no extra details.
There's a way to fix it, or avoid it?
1 libobjc.A.dylib objc_msgSend + 2 2 CoreFoundation -[__NSDictionaryM objectForKey:] + 128 3 MyApp -ISO8601DateFormatter dateComponentsFromString:timeZone:range:fractionOfSecond: 4 MyApp -ISO8601DateFormatter dateFromString:timeZone:range: 5 MyApp -ISO8601DateFormatter dateFromString:timeZone:
I think the issues is because there is not thread protection when we read or write to timeZonesByOffset.
Ah, yes. I think this was fixed by #39—NSCache is thread-safe, whereas NSMutableDictionary is not.
I've go this issue, with no extra details.
There's a way to fix it, or avoid it?
1 libobjc.A.dylib objc_msgSend + 2 2 CoreFoundation -[__NSDictionaryM objectForKey:] + 128 3 MyApp -ISO8601DateFormatter dateComponentsFromString:timeZone:range:fractionOfSecond: 4 MyApp -ISO8601DateFormatter dateFromString:timeZone:range: 5 MyApp -ISO8601DateFormatter dateFromString:timeZone: