Skip to content

False positive with ALAssetsLibrary #19

@swt2c

Description

@swt2c

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions