Skip to content

Commit

Permalink
DFImageManagerImageLoader creates loader task on _queue
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Sep 6, 2015
1 parent ea8caea commit cdbb931
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ - (nonnull instancetype)initWithConfiguration:(nonnull DFImageManagerConfigurati
}

- (void)startLoadingForImageTask:(nonnull DFImageTask *)imageTask {
_DFImageLoaderTask *loaderTask = [[_DFImageLoaderTask alloc] initWithImageTask:imageTask];
_executingTasks[imageTask] = loaderTask;
dispatch_async(_queue, ^{
_DFImageLoaderTask *loaderTask = [[_DFImageLoaderTask alloc] initWithImageTask:imageTask];
_executingTasks[imageTask] = loaderTask;
[self _startLoadOperationForTask:loaderTask];
});
}
Expand Down

0 comments on commit cdbb931

Please sign in to comment.