Skip to content

False positive with ALAssetsLibrary #19

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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