mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Deliver SPUDownloaderSession delegate messages on the main queue
This is the behavior of SPDownloaderDeprecated. Github #1236
This commit is contained in:
1 parent
8a8ce49a23
commit
a18282ec79
1 file changed
+1
-2
Vendored
+1
-2
@@ -29,8 +29,7 @@
|
||||
|
||||
- (void)startDownloadWithRequest:(SPUURLRequest *)request
|
||||
{
|
||||
NSOperationQueue *queue = [[NSOperationQueue alloc] init];
|
||||
queue.maxConcurrentOperationCount = 1;
|
||||
NSOperationQueue *queue = [NSOperationQueue mainQueue];
|
||||
self.downloadSession = [NSURLSession
|
||||
sessionWithConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]
|
||||
delegate:self
|
||||
|
||||
Reference in new issue
Block a user