GDCoreDataConcurrencyDebugging icon indicating copy to clipboard operation
GDCoreDataConcurrencyDebugging copied to clipboard

False positive with ALAssetsLibrary

Open swt2c opened this issue 9 years ago • 0 comments

When using ALAssetsLibrary, I'm seeing an "Invalid concurrent access to managed object calling 'release":

ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
[library enumerateGroupsWithTypes:ALAssetsGroupSavedPhotos usingBlock:^(ALAssetsGroup *group, BOOL *stop) {
    // code
}];

It seems this may be a false positive? It looks like the Apple code may be creating the ALAssetsGroup on another thread, and this warning comes when it is released on the main thread.

swt2c avatar Jun 29 '15 14:06 swt2c