Unverified Commit 1de0c0f9 authored by 谭真's avatar 谭真 Committed by GitHub

Merge pull request #1238 from kinarobin/optimize_request_operation

[Enhancements] Optimize request operation
parents c78fbae1 969a1dc7
......@@ -26,7 +26,6 @@
- (void)start {
self.executing = YES;
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[TZImageManager manager] getPhotoWithAsset:self.asset completion:^(UIImage *photo, NSDictionary *info, BOOL isDegraded) {
dispatch_async(dispatch_get_main_queue(), ^{
if (!isDegraded) {
......@@ -45,7 +44,6 @@
}
});
} networkAccessAllowed:YES];
});
}
- (void)done {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment