Skip to content

Commit

Permalink
Ensure the downloader is started from the main thread
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Poitrey committed Jun 20, 2010
1 parent 65549de commit 7f7dfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDWebImageDownloader.m
Expand Up @@ -23,7 +23,7 @@ + (id)downloaderWithURL:(NSURL *)url delegate:(id<SDWebImageDownloaderDelegate>)
SDWebImageDownloader *downloader = [[[SDWebImageDownloader alloc] init] autorelease];
downloader.url = url;
downloader.delegate = delegate;
[downloader start];
[downloader performSelectorOnMainThread:@selector(start) withObject:nil waitUntilDone:YES];
return downloader;
}

Expand Down

0 comments on commit 7f7dfbe

Please sign in to comment.