Removed a useless dispatch_sync().
This commit is contained in:
1 parent
b83c07dc8d
commit
19d80fbca8
1 file changed
+1
-3
@@ -378,9 +378,7 @@
|
|||||||
// Add artwork to metadata object
|
// Add artwork to metadata object
|
||||||
if (artworkData && [artworkData length]) {
|
if (artworkData && [artworkData length]) {
|
||||||
MP42Image *artwork = [[MP42Image alloc] initWithData:artworkData type:MP42_ART_JPEG];
|
MP42Image *artwork = [[MP42Image alloc] initWithData:artworkData type:MP42_ART_JPEG];
|
||||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
[self.selectedResult.artworks addObject:artwork];
|
||||||
[self.selectedResult.artworks addObject:artwork];
|
|
||||||
});
|
|
||||||
[artwork release];
|
[artwork release];
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
|
|||||||
Reference in new issue
Block a user